Try the XAPI for those kinds of queries. <br><br>This gives me the amenity nodes for Amsterdam and surroundings:<br>curl -g '<a href="http://xapi.openstreetmap.org/api/0.6/node[amenity=*][bbox=4.9,52.2,5.1,52.4]">http://xapi.openstreetmap.org/api/0.6/node[amenity=*][bbox=4.9,52.2,5.1,52.4]</a>'<br>

<br>Read up on the XAPI here: <br><a href="http://wiki.openstreetmap.org/wiki/Xapi">http://wiki.openstreetmap.org/wiki/Xapi</a><br><br>The XAPI can be pretty slow at times.<br>Alternatively you can download OSM data in JOSM and query it there. JOSM's query is pretty powerful.<br>

<br>Martijn van Exel +++ <a href="mailto:m@rtijn.org" target="_blank">m@rtijn.org</a><br>laziness – impatience – hubris<br><a href="http://schaaltreinen.nl" target="_blank">http://schaaltreinen.nl</a> | <a href="http://martijnvanexel.nl" target="_blank">http://martijnvanexel.nl</a> | <a href="http://oegeo.wordpress.com/" target="_blank">http://oegeo.wordpress.com/</a><br>

twitter / skype: mvexel<br>flickr: rhodes<br>
<br><br><div class="gmail_quote">On Sat, Jan 29, 2011 at 12:53 PM, Mahsa Ghasemi <span dir="ltr"><<a href="mailto:m.ghasemi@student.unimelb.edu.au">m.ghasemi@student.unimelb.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

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".<br>


<br>_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
<br></blockquote></div><br>