Skip to content

Zverik/Level0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Level0 OpenStreetMap Editor

This is a text-based in-browser editor for OSM data. See its wiki page and language guide.

Installation

You will need PHP with mod_gettext.

  • Point your DocumentRoot to the www directory.
  • Run composer install.
  • Open this link and register your instance of Level0. It needs permissions for reading user details and modifying the map.
  • Create www/config.php from www/config.php.sample, inserting both OAuth keys.
  • Create data directory and give writing permissions for it to web server process. Check path in config.php. Maybe you'll also need httpd_sys_rw_content SELinux tag.
  • Check path to document root in locales/deploy_locales and run it.

You're set: download some data in the editor and login to OSM.

Oh, one more thing: there will be a lot of .base files in the data directory. To clean them, run crontab -e and add this line (change path accordingly):

0 * * * * find /var/www/level0/data -type f -mtime 1 -delete

Translation

Localization strings are managed with Transifex. There are not many of them, please add a translation for your language when you have time.

Development

Run tests using phpunit --display-warnings test/

License and authors

Level0 is written by Ilya Zverev and published under WTFPL license.

Thank you to OpenCage for sponsoring work on Level0!

About

Web-based OpenStreetMap Editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published