Logo Lanfrica

ibisservicios/Osebo

Domain:

geospatial

Record type:

software
Creator:
ibi
Host:
Map developed in collaboration with UNICEF to display the status of different projects developed in Ghana interactively. There is a back end where administrators can edit or upload files with new data. Osebo ===== Map developed in collaboration with UNICEF to display the status of different projects developed in Ghana interactively. There is a back end where administrators can edit or upload files with new data. ## Requirements * PHP version 5.2.0 or higher * PHP extension php_zip (to create the kmz files): php.net ## Installation In order to install the Osebo mapping system, please follow these steps: ### Step 1: config.php You should create a file called config.php, located in the root of the project, where you define some configuration variables. This files is intentionally NOT included and it is ignored through the .gitignore file. This is done to enable each project to easily pull and push changes and update from a live environment, without overwriting the configuration file. Your configuration file should include the following: define ("URL", "example.com"); // Full URL of your site define ("PATH", "/var/www/"); // path to your files define ("SITENAME", "Osebo"); // Name of your site, will be placed in the title tag define ("EMAIL", "info@example.com"); // Admin e-mail, to receive error reports // These constants are used within a class; use const XX = yy format const SERVER = "localhost"; // MySQL server name const USER = "my_user"; // MySQL user name const PASSWORD = "secret"; // MySQL password const DATABASE = "osebo"; // MySQL database name ### Step 2: create the databse Create a MySQL database. Use utf8_unicode_ci encoding. After creating the database, load the table structure. Simply load the file load.sql and the appropriate table structure will be created. ### Step 3: create map layout You will need to load the regions into the system. That is, you will need to indicate the areas and their coordinates, in order for the system to properly mark the areas that you want to highlight. You can work on a nation-wide scale, or you could tailor the system to operate on a municipal level. You will nee …