Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Need nominatim address components ids #5443

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Need nominatim address components ids #5443

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: kz_sergey
[Submitted to the original trac issue database at 9.44am, Sunday, 5th February 2017]

http://nominatim.openstreetmap.org/lookup?osm_ids=R146656&accept-language=en&format=json

"address":{"city":"Manchester","county":"Greater Manchester","state_district":"North West England","state":"England","country":"United Kingdom","country_code":"gb"}

How can I get osm ids of these components?

Workaround, the ids are here:
http://nominatim.openstreetmap.org/details.php?place_id=158717208

But this query is slow and I don't know how to get details in json format.

What to do?

@openstreetmap-trac
Copy link
Author

Author: mtmail
[Added to the original trac issue at 10.57pm, Wednesday, 8th February 2017]

(Changed request type from critical-defect to minor-enhancement.)

Nominatim currently doesn't return the data you're looking for in the /search, /reverse, /lookup API methods. Do you have your own Nominatim server and are interested how to add that to the PHP templates?

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 4.45pm, Saturday, 30th September 2017]

Closed due to missing response by original poster.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant