Displayes cycle paths overlayed on a MKMapView. The data is from OpenStreetMaps. Availiable on the app store
To update the cycle path data in the applicaiton
-
Download british_isles.osm.pbf from Geofabrik. ~400MB
-
Get Osmosis - a tool for parsing open map data.
-
Run the script 'ExtracBikes.sh' To cut down the large pbf binary file into XML files containg just cycle data. Takes aprox 1 hour.
-
Set
TEST_COREDATA
to true in the config.h file:#define TEST_COREDATA TRUE
-
Run the app in the simulator. Takes aprox 1 hour.
-
Copy the generated
LBCoreData.sqlite
file from the Simulator's documents folder to the bundle and changeTEST_COREDATA
back to false.
-
Find a faster method of fatching paths from core data, try...
- Use better hashing.
- Split request into many subrequests. Update on the fly
- Split up database.
- Find a better way to store the data.
-
Remore theb magnifinign glass icon or replace with text, e.g. "Zoom in to see more paths". Some users thought it was a button.
-
Implement a system to update cycle path databse from S3.
Note: Previously this app was called London bikes, some files are yet to be re-named.