Closed renaudk closed 2 years ago
You are running a different version of Nominatim than the official servers. ISO3166-2-lvlX fields are only available in the master version.
Thank you, so I assume this will be available in next release. About the place_id/postcode difference, do you have an idea?
Different place_id is expected https://nominatim.org/release-docs/develop/api/Output/#place_id-is-not-a-persistent-id
For postcode try running the refresh script https://nominatim.org/release-docs/3.7.1/develop/Postcodes/
Thank you, should we run nominatim refresh --postcodes
every night as nominatim.openstreetmap.org do?
I would run it regularly. How often is up to you.
Thanks!
Describe the bug ISO3166-2-lvlX fields are not displayed on our server. The place_id returned is not the same (as well as postcode)
To Reproduce Just build a new nominatim instance, do planet import using extratags style.
Compare outputs: https://nominatim.openstreetmap.org/reverse?lat=40.86679325&lon=14.239311245971589&addressdetails=1&format=json&accept-language=en
on our private nominatim server, same request:
Is there something to configure to get ISO3166-2 information on our server?
Software Environment (please complete the following information):
Hardware Configuration (please complete the following information):
Postgresql Configuration: Recommended changes in installation process.
Additional context Nothing