7

Is there a place where I can search map objects by tag(s)?

asked 21 Sep '10, 16:49

Kozuch's gravatar image

Kozuch
1.6k577282
accept rate: 8%

retagged 21 Sep '10, 19:11

scai's gravatar image

scai ♦
31.9k20291442


4 Answers:
9

Have a look at http://wiki.openstreetmap.org/wiki/Query-to-map

There you can get the desired data on a map. The OSM data is mirrored on a Wikimedia toolserver.

permanent link

answered 22 Sep '10, 19:22

stephan75's gravatar image

stephan75
12.5k454209
accept rate: 6%

Seems to be the best option so far, but is not very user-friendly. Among other negatives, it needs a bbox parameter or a coordinate of a center (is not able to scale the map itself). There is also a limit of 10,000 objects for a list and 1,000 objects for a map.

(25 Jul '11, 16:37) Kozuch
1

There is a GUI for building queries to Query-to-map: http://utils.lukas-pirl.de/qtm_gui/

(20 Mar '14, 13:31) lukas_p

Trying the GUI luka_p provided, I can't seem to get results out of a search Using the list mode I get this error message: ERROR: permission denied for relation planet_osm_point

(14 Oct '18, 18:34) ChameleonScales
2

Zhe answers to this question are all rather old as the question itself. Today you should typically do this with https://overpass-turbo.eu/

(14 Oct '18, 19:54) SimonPoole ♦

Thank you, this works like a charm !

(14 Oct '18, 21:07) ChameleonScales
8

You want to use the XAPI for this, for example *http://www.informationfreeway.org/api/0.6/node[amenity=hospital]*.

The data might be slightly older (a few minutes) than the OSM database, but the XAPI is modified to provide fast and enhanced search and querying capabilities. It supports only searching for one tag at the same time and you can limit the area by specifying a bounding box. Also, there are several mirrors available.

permanent link

answered 21 Sep '10, 16:58

scai's gravatar image

scai ♦
31.9k20291442
accept rate: 23%

edited 21 Sep '10, 17:00

Can I plot the results into a map directly? Something as if I list ways for example...

(22 Sep '10, 06:58) Kozuch
3

You should specify how large the map is, that you want to search. Small areas can be searched in JOSM, bigger areas might require a different approach like the ones mentioned in the other replies. If you dispose of your own database copy you can also perform db-queries to find the information you want. It also depends how often the tag you are looking for is in the db (i.e. the amount of results you are expecting).

In taginfo you can search for a tag and see a map for all the nodes that use this tag. In OSM-Browser there is a GUI for searching POIs. There is surely tons of other tools and possibilities available, it really depends on you requirements and the effort you want to put into it.

permanent link

answered 26 Jul '11, 18:22

dieterdreist's gravatar image

dieterdreist
3.6k113466
accept rate: 3%

edited 26 Jul '11, 18:23

2

You can use Maperitive to search for OSM data based on tags, but this only works for data loaded from an OSM file. It will then show all the matching OSM elements on the map.

More info:

You can then use list-results, find-next, find-prev and get-info commands.

permanent link

answered 22 Sep '10, 15:50

Breki's gravatar image

Breki
2.0k51843
accept rate: 10%

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×173
×156
×32

question asked: 21 Sep '10, 16:49

question was seen: 30,496 times

last updated: 14 Oct '18, 21:07

powered by OSQA