I am using a java library which uses Nominatim to extract the city names for a given latitude and longitude. I am looking for Node with id 108042 but I get "London Borough of Camden" as the city which is wrong. I am wondering why it happens.

I even tried this link to ensure that the problem is not with the third party library that I am using but it also gives me the same information.

asked 02 Jun, 10:05

Anika%20H's gravatar image

Anika H
1613
accept rate: 0%


https://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative lists what admin_level values represent in different countries. Look for United Kingdom and admin_level=8.

London is so big, everything moves up a level. London is tagged admin_level=6 (in the rest of the country that would be a district/county). The level below (boroughs) are tagged admin_level=8 (in the rest of the country that would be a city). Bouroughs are so big and self-administering they another two levels of boroughs/neighborhoods/suburbs of their own. Paris and their 20 arrodissimonts are similar and I believe New York City.

"London consists of a collection of boroughs, two of which are Cities. They are not towns" That's City of Westminster and City of London.

Nominatim currently can't set different labels based on region, here: inside London. You'd have to identify London (maybe by postcode) and apply that.

https://nominatim.openstreetmap.org/details.php?osmtype=N&osmid=108042

permanent link

answered 02 Jun, 11:23

mtmail's gravatar image

mtmail
4.1k1261
accept rate: 30%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×614
×3

question asked: 02 Jun, 10:05

question was seen: 206 times

last updated: 02 Jun, 11:23

powered by OSQA