You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2011-05-29 17:08:46
- bobby07
- Member
- Registered: 2011-05-29
- Posts: 13
Where does Open Cycle Maps get feeds from?
Hi all, this is my first post.
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.
Any help would be much appreciated.
Thanks,
Rob.
Offline
#2 2011-05-29 18:31:57
- bobby07
- Member
- Registered: 2011-05-29
- Posts: 13
Re: Where does Open Cycle Maps get feeds from?
I think i have found the answers here:
http://wiki.openstreetmap.org/wiki/Cycl … e_Networks
Dose anyone know if an application to highlight cycle paths exists for smart phones?
Offline
#3 2011-05-30 05:53:03
- stephan75
- Member
- Registered: 2008-05-28
- Posts: 2,918
Re: Where does Open Cycle Maps get feeds from?
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.
Also try http://www.cyclestreets.net/
Success?
Offline
#4 2011-05-30 07:36:37
- flintheart
- Member
- Registered: 2011-05-30
- Posts: 2
Re: Where does Open Cycle Maps get feeds from?
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.
Offline
#5 2011-05-30 22:02:31
- bobby07
- Member
- Registered: 2011-05-29
- Posts: 13
Re: Where does Open Cycle Maps get feeds from?
I found some feeds from a OSM web source..
I ran three queries for cycle paths in london:
http://open.mapquestapi.com/xapi/api/0. … 51.5446%5D
http://open.mapquestapi.com/xapi/api/0. … 51.5446%5D
http://open.mapquestapi.com/xapi/api/0. … 51.5446%5D
One gets all ways marked as local cycle paths, one for national, and the finial get all tages for anything marked as a cycleway
I then overlaid it onto a view and here was my results compared to the OpenCyclePath:

As you can see I am missing some paths!
Does anyone know
1) Are there any tages I have missed from my 3 queries?
2) Should I use a different data source other than open.mapquestapi.com
3) Why else might I be missing some paths?
Thanks
Offline
#6 2011-05-30 22:56:16
- SK53
- Member
- Registered: 2009-01-11
- Posts: 705
Re: Where does Open Cycle Maps get feeds from?
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.
Offline
#7 2011-05-31 13:28:07
- bobby07
- Member
- Registered: 2011-05-29
- Posts: 13
Re: Where does Open Cycle Maps get feeds from?
@SK53 Thanks for this. I will add route=bicycle and see what I get.
I didn't relise it would crop my links. The predicates are:
cycleway=lane|track|opposite_lane|opposite_track|opposite|segregated
lcn_ref=*
ncn_ref=*
At the moment I am querying just ways, should I be querying relations too?
Offline
#8 2011-05-31 20:41:14
- bobby07
- Member
- Registered: 2011-05-29
- Posts: 13
Re: Where does Open Cycle Maps get feeds from?
My server request keeps failing...
Does anyone know a API that works and can handle relation queries?
Im currently trying this one:
http://open.mapquestapi.com/xapi/api/0.6/relation
Thanks.
Last edited by bobby07 (2011-05-31 20:52:49)
Offline
#9 2011-06-01 09:38:25
- SK53
- Member
- Registered: 2009-01-11
- Posts: 705
Re: Where does Open Cycle Maps get feeds from?
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.
Offline
#10 2011-06-01 15:10:40
- Marqqs
- Member
- Registered: 2011-01-01
- Posts: 724
Re: Where does Open Cycle Maps get feeds from?
cycleway=lane|track|opposite_lane|opposite_track|opposite|segregated
lcn_ref=*
ncn_ref=*At the moment I am querying just ways, should I be querying relations too?
I guess that it will be necessary to query cycleway relations too – including their subrelations, their ways and the nodes of these ways.
You may filter the file (e.g. great_britain.osm.pbf from http://download.geofabrik.de/osm/europe/) with Osmosis (standard tool) or o5mfilter. Example:
osmconvert great_britain.osm.pbf --out-o5m >gb.o5m
o5mfilter gb.o5m --keep="cycleway=lane =track =opposite_lane =opposite_track =opposite =segregated lcn_ref= ncn_ref=" >gb_cycle.osmShould be done in about 3 minutes.
EDIT: Just tried it. => 81s + 51s = 2 min 20 sec :-)
Last edited by Marqqs (2011-06-01 15:57:28)
Offline
#11 2011-06-01 19:35:40
- bobby07
- Member
- Registered: 2011-05-29
- Posts: 13
Re: Where does Open Cycle Maps get feeds from?
Thank for the replies!
Offline
#12 2011-06-01 21:24:35
- bobby07
- Member
- Registered: 2011-05-29
- Posts: 13
Re: Where does Open Cycle Maps get feeds from?
Apologies for the noobie-ness, but I cant get either osmosis or o5mfilter working...
Iv got a Mac and I cant seam to get the commands working.
I changed osmosis to an executable and tried to run it from the terminal with various commands, but nothing worked. Same for o5mfilter.
Can someone please help me out?
Thanks.
Offline
#13 2011-06-02 19:08:06
- SK53
- Member
- Registered: 2009-01-11
- Posts: 705
Re: Where does Open Cycle Maps get feeds from?
Osmosis is a java program run with java JAVAOPTS osmosis OSMOSISOPTS.
Offline
#14 2011-06-05 10:34:25
- bobby07
- Member
- Registered: 2011-05-29
- Posts: 13
Re: Where does Open Cycle Maps get feeds from?
I have got OSMOSIS working and so far I have cropped England to London:
sh osmosis --read-pbf file=england.osm.pbf --bb left=-0.1912 bottom=51.4740 right=-0.0403 top=51.5446 --write-xml file=test.osm
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.
Last edited by bobby07 (2011-06-05 10:42:04)
Offline
#15 2011-06-05 16:49:11
- bobby07
- Member
- Registered: 2011-05-29
- Posts: 13
Re: Where does Open Cycle Maps get feeds from?
I am having trouble with a merge command in OSMOSIS. I though I would start a new post:
http://forum.openstreetmap.org/viewtopic.php?id=12568
Last edited by bobby07 (2011-06-05 17:33:49)
Offline
#16 2011-06-29 21:53:28
- AdamAL
- Member
- Registered: 2011-06-29
- Posts: 1
Re: Where does Open Cycle Maps get feeds from?
Hi everybody – new here.
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).
Offline
Pages: 1