I was impressed by the Open cycle maps project (http://www.opencyclemap.org/) and I was wondering where how the tile are generated?
Does it use the same OSM data as everything else, it just rendered to show the cycle routes? Or does it use its own data on top of a OSM map?
I was wodering because I extraced a XML feed of the OSM data for a smallish area of London. I could not find a tag that said if a road was a cycle route or not.
I ask because I really wanted to make an smartphone application to highlight the cycle routes over a map.
I cannot telle you a specific app for this purpose, but dependeing on your smartphone’s operating system, have a look at http://wiki.openstreetmap.org/wiki/Software and try each freely available app or read the feautre list of the commercial ones.
I am too new here and pretty impressed by this. And also excited to see the links you have provided. But still need to explore it fully to understand it. Hope I will get it soon else will come back to you people.
At the very least you are not picking up route relations with route=bicycle. The NCN 4 and the local cycle route along Cornwall Road are examples of these http://www.openstreetmap.org/browse/relation/2696.
BTW its a lot more useful to see the predicate that you send to jxapi than having a link to it. I have no desire to download the data.
You may find it a lot easier to grab a GB, England or London download from geofabrik & use osmosis to filter the data.
OCM is built on Postgres & Mapnik, the garmin versions with mkgmap: so it has all data available and appearance is in down to the rules rather than some selected sub-set of the data.
I have got OSMOSIS working and so far I have cropped England to London:
Now I have seen some of the cycle relations in the file and they look great! There are even some cycle super highways in there. So I need a way to filter on relations and ways.
In the wiki it states:
“Extract only those ways that have certain tags. Specifying --used-node only extracts those nodes that are used in the filtered ways. Relations stay untouched.”
Dose that mean I can not filter relations?
Should I be asking this in another forum?
Would it be best to write my own parser because what I want is too bespoke?
To clarify, I require:
All ways with cycle related tags
All relations with cycle related tags
All ways belonging to the relations with cycle related tags.
All nodes beloning to the ways described above.
EDIT: This was just a case of RTFM. I have found the answer now.
To the OP – yes there are a few apps that can be used for viewing cycle routes. I know of two for Android. OSMAND has many source options one of which is OpenCycleMap.
Another one, which claims to only work in UK but actually also works in Denmark, is Bike Hub. The last one unfortunately seems not to well programmed and can be laggy and slow, but it does provide routing with different bike-centric preferences (Balanced, Fastest, Quitest and Shortest).
Both of these download tiles on the fly (though OSMAND can render from offline data, you have no controll over how the maps are rendered).