Skip to content

city isn't included in search & lookup endpoint, but in details endpoint #3187

Answered by mtmail
jtopenpetition asked this question in Q&A
Discussion options

You must be logged in to vote

Nominatim assigns https://www.openstreetmap.org/relation/1428589 (admin_level=7) to the field "municipality" but then the field 'city' and 'municipality' usually mean the same and only one gets returned. With many places in the world it's not clear which of the two fields is more relevant to the user.

The 'geocodejson' output has improved logic https://nominatim.openstreetmap.org/lookup?osm_ids=N668984942&format=geocodejson&addressdetails=1

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jtopenpetition
Comment options

Answer selected by jtopenpetition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants