dasi85
March 8, 2010, 7:44am
#1
Hello,
is there a possibility to concatenete a query.
I start to query something like
http://www.informationfreeway.org/api/0.6/way [highway=motorway][bbox= …]
But i would have to query motorway and road in one query.
http://www.informationfreeway.org/api/0.6/way [highway=motorway][highway=road][bbox=…] seems malfuntion…
Can you help me?
P.S.: Please apologize my english
NE2
March 8, 2010, 8:25am
#2
I don’t think so; you’ll have to do highway=* and then pull out the motorways and roads. Or (assuming you’re using JOSM) use ctrl-L to load highway=motorway and highway=road separately.
Have you seen http://wiki.openstreetmap.org/wiki/Xapi#Tag_Predicates ?
Perhaps way[highway=motorway|motorway_link|trunk|primary] is the format you need.
NE2
March 8, 2010, 9:03pm
#4
Duh, I forgot that that worked.