Replies: 1 comment 1 reply
-
|
I'm surprised you got the response because that relation was deleted 11 years ago. https://www.openstreetmap.org/relation/2255630/history/ Is there any chance you're connecting to an old Nominatim installation or database? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
What did you search for?
I try get ISO3166-2-lvl4 from my local Nominatim
http://localhost:8081/reverse?lat=39.4182&lon=3.25515&format=json&zoom=5&addressdetails=1What result did you get?
{ "place_id": 397368367, "licence": "Data © OpenStreetMap contributors, ODbL 1.0. http://osm.org/copyright", "osm_type": "relation", "osm_id": 2255630, "lat": "39.6107166", "lon": "2.8776256292205886", "class": "boundary", "type": "administrative", "place_rank": 6, "importance": 0.32000999999999996, "addresstype": "region", "name": "Illes Balears", "display_name": "Illes Balears, Spain", "address": { "region": "Illes Balears", "country": "Spain", "country_code": "es" }, "boundingbox": [ "38.4368726", "40.2950626", "0.8980655", "4.5918885" ] }What result did you expect?
https://nominatim.openstreetmap.org/reverse?lat=39.4182&lon=3.25515&format=json&zoom=5&addressdetails=1{ "place_id": 46690391, "licence": "Data © OpenStreetMap contributors, ODbL 1.0. http://osm.org/copyright", "osm_type": "relation", "osm_id": 348981, "lat": "39.6134320", "lon": "2.8829185", "class": "boundary", "type": "administrative", "place_rank": 8, "importance": 0.6558908843700592, "addresstype": "state", "name": "Balearic Islands", "display_name": "Balearic Islands, Spain", "address": { "state": "Balearic Islands", "ISO3166-2-lvl4": "ES-IB", "country": "Spain", "country_code": "es" }, "boundingbox": [ "38.6404498", "40.0945867", "1.1572738", "4.3280260" ] }Further details
Nominatim config
Nominatim status
{ "status": 0, "message": "OK", "data_updated": "2025-09-26T14:01:15+00:00", "software_version": "5.1.0", "database_version": "5.1.0-0" }What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions