This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Nominatim with all tags

0

Hi

Is there a project which implements both geo-location and reverse geo-location but includes the full OpenStreetMap data and tags (as opposed to Nominatim which only uses some of the tags)?

Thanks, Raz

asked 15 Jun '14, 09:50

RazAlon's gravatar image

RazAlon
619914
accept rate: 0%

1

Can't you just run an additional query? The results always include the OSM ID, so it is easy to get all the tags using an additional query to the regular API.

(15 Jun '14, 09:56) scai ♦

thanks, that's a nice idea, I was just wondering of it was already implemented.

(15 Jun '14, 10:24) RazAlon

One Answer:

2

You can take the ID returned by Nominatim to run a query against the API. However do not do that in an application that you plan to use productively, as the API is meant mainly for editing! If you have regular need for this kind of lookup, you can set up your own Nominatim database and modify it to return all tags instead of just selected ones.

answered 16 Jun '14, 14:16

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

I have my own Nominatim instance and Nominatim database, but how would I go about modifying it to return all tags instead of just the default selected ones?

And if all tags are returned, does that mean all tags can be queried against in the search box?

Thanks

(15 Sep '14, 18:26) olearytd12

Source code available on GitHub .