The ImproveOSM project has been cancelled by Grab, hence, this repository is obsolete.
This is an API to get the latest oneway data from improveosm.org
It consists mainly of two files:
- Used to get the latest data from the server (should be run daily)
- Invoke for example via cron as
php -f update.php
- Used to get the data for a specified bounding box
- The bounding box must be passed as an URL parameter
- Example:
/index.php/?bbox=18,-34,19,-33
gets all ways in Cape Town
- Copy everything into a web directory of your choice
- Create a
config.php
file from theconfig.sample.php
template and fill it with your MySQL DB settings. Don't forget to create the respective DB and user beforehand. - Set up a daily scheduled execution of update.php (at midnight UTC+0 is good)
- Website for testing
- Issue #1022 of StreetComplete (The reason why this repository was created)