[OSM-newbies] Overpass API to get all amenities?

Tac Tacelosky tacman at gmail.com
Fri May 3 21:10:04 UTC 2013


Thanks!

Tac


On Fri, May 3, 2013 at 3:06 PM, Richard Welty <rwelty at averillpark.net>wrote:

> On 5/3/13 2:59 PM, Tac Tacelosky wrote:
>
>> I'd like to get all nodes and ways within a bounding box that have any
>> amenity tags.  I think the Overpass API is the best way to go, but the
>> filtering seems to be for a specific amenity, e.g. k="amenity" and
>> v="restaurant".  I tried "*", but that didn't work.
>>
>> Any suggestions on how to get all nodes and ways via an API call that are
>> tagged accordingly?
>>
>>  try this:
>
>   <has-kv k="amenity" regv="." />
>
> richard
>
>
> ______________________________**_________________
> newbies mailing list
> newbies at openstreetmap.org
> http://lists.openstreetmap.**org/listinfo/newbies<http://lists.openstreetmap.org/listinfo/newbies>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20130503/3f4f5a32/attachment.html>


More information about the newbies mailing list