[OSM-talk-be] GR en hiking
Jo
winfixit at gmail.com
Tue Aug 28 09:03:40 UTC 2012
Thank you for that tip. It could be more error prone when there is
something wrong with that area relation though.
There are some parts going into Germany as well. I was hoping they wouldn't
mind the change from foot to hiking, but maybe I better go and ask on their
mailing lists first.
Cheers,
Jo
2012/8/28 Sander Deryckere <sanderd17 at gmail.com>
> You can download features within a boundary also with overpass api.
>
> <query type="node">
> <has-kv k="place" v="city"/>
> <area-query ref="3600058974"/>
> </query>
> <print mode="body"/>
>
> This will download all city nodes in the relation 3600058974.
>
> see http://help.openstreetmap.org/questions/12554/is-there-a-web-service-exposed-to-get-all-cities-in-a-country
>
>
> Just watch out, some Belgian node networks have parts in the Netherlands or France.
>
>
>
> 2012/8/28 Jo <winfixit at gmail.com>
>
>> 2012/8/27 Ben Laenen <benlaenen at gmail.com>
>>
>>> On Monday 27 August 2012 10:14:47 Jo wrote:
>>> > I created a page where we can all vote:
>>> >
>>> >
>>> http://wiki.openstreetmap.org/w/index.php?title=WikiProject_Belgium/Walking
>>> > _Routes/VoteForHikingOrFoot&action=edit
>>>
>>>
>>> Just a little question: why did this need its own page? It's what the
>>> discussion pages should be used for...
>>>
>>> Anyway, just saying in case there are some other votes coming up as
>>> well...
>>>
>>
>> Sorry, I'm not in the habit of launching votes. It's a dirty job, but
>> somebody has to do it.
>>
>> After one day we have 7 votes in favour, 0 against. I'll wait for a few
>> more days. In the mean time |'ve been playing a bit with the Overpass API:
>>
>> <query type="relation" into="routes">
>> <bbox-query s="49.5" n="51.5" w="2.52" e="6.5"/>
>> <has-kv k="route" v="foot"/>
>> </query>
>> <query type="relation">
>> <bbox-query s="49.5" n="51.5" w="2.52" e="6.5"/>
>> <has-kv k="route" v="foot"/>
>> </query>
>> <union>
>> <item/>
>> <recurse type="relation-backwards" from="routes"/>
>> <recurse type="relation-node" from="routes"/>
>> <recurse type="relation-way" from="routes"/>
>> <recurse type="way-node"/>
>> </union>
>> <print mode="meta"/>
>>
>> This query results in a 45 MB file, containing all relations where
>> route=foot in an area more or less covering Belgium. There are some routes
>> going into the neighbouring countries. Hopefully they won't mind the
>> retagging.
>>
>> It also gives all parent relations and all node and way members of the
>> route relations. Getting the numbered nodes themselves from the network
>> relations should already have been accomplished by downloading the ways. If
>> not, it's only one extra line to accomplish that. That way nodes which were
>> drawn next to the actual crossing and made members of the network relation
>> also get downloaded.
>>
>> <recurse type="relation-node"/>
>> above
>> <recurse type="relation-node" from="routes"/>
>>
>> Anyway, just to illustrate the power of Overpass. It's quick too, only a
>> few minutes, download included.
>>
>> This provides a great starting point to rename those tags all at once
>> with JOSM.
>>
>> Jo
>>
>> _______________________________________________
>> Talk-be mailing list
>> Talk-be at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk-be
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-be/attachments/20120828/f122f003/attachment.htm>
More information about the Talk-be
mailing list