[OSM-talk] Selecting cycleways

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Mon Aug 17 10:18:26 BST 2009


I would like to render a map that highlights all the cycleways. Could
the tagging 
specialists on the list check if this query would give me what I want 
and correct if there is something wrong or missing?

WHERE highway=cycleway
OR highway=footway AND 
   (bicycle=yes OR bicycle=designated OR bicycle=permissive)
OR highway=path AND 
   (bicycle=yes OR bicycle=designated OR bicycle=permissive)
OR highway=briddleway AND 
   (bicycle=yes OR bicycle=designated OR bicycle=permissive)
OR highway is not null AND cycleway is not null
#I cannot handle cycleway=opposite_lane or left/right thing in 
#rendering yet so I do not care

Should I add also 'OR bicycle=official'?
(With 'cycleway' I mean something like 'A way that can legally be used
for cycling and that 95% of urban people riding 300-3000 km per year
with a bicycle would say well suitable for riding a 5 km distance to
work wearing jeans and having a briefcase on a rack'). 

-Jukka Rahkonen-




More information about the talk mailing list