Try the XAPI for those kinds of queries.

This gives me the amenity nodes for Amsterdam and surroundings:
curl -g '
http://xapi.openstreetmap.org/api/0.6/node[amenity=*][bbox=4.9,52.2,5.1,52.4]
'

Read up on the XAPI here:
http://wiki.openstreetmap.org/wiki/Xapi

The XAPI can be pretty slow at times.
Alternatively you can download OSM data in JOSM and query it there. JOSM's
query is pretty powerful.

Martijn van Exel +++ [email protected]
laziness – impatience – hubris
http://schaaltreinen.nl | http://martijnvanexel.nl |
http://oegeo.wordpress.com/
twitter / skype: mvexel
flickr: rhodes


On Sat, Jan 29, 2011 at 12:53 PM, Mahsa Ghasemi <
[email protected]> wrote:

> I am trying to search a specific key in an area, but I do not get any
> results. Does any one knows what I should do if I want to have all the map
> elements that are tagged with a specific key? as an example "amenity,
> Melbourne".
>
> _______________________________________________
> talk mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/talk
>
>
_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk

Reply via email to