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

Nominatim Places City into a Different Country #3506

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

Nominatim Places City into a Different Country #3506

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

Comments

@openstreetmap-trac
Copy link

Reporter: ToB
[Submitted to the original trac issue database at 10.34pm, Wednesday, 2nd February 2011]

Search for [http://open.mapquestapi.com/nominatim/v1/search.php?q=Aachen Aachen]. The first two results are:

"Aachen, Kreis Heinsberg, Belgium (City)" ([http://open.mapquestapi.com/nominatim/v1/details.php?place_id=23219303 relation details], [http://open.mapquestapi.com/nominatim/v1/details.php?place_id=596316 point details])

Only the third result has correctly:

"Aachen, Stdteregion Aachen, Kln, North Rhine-Westphalia, Aachen, Germany (Postcode)" ([http://open.mapquestapi.com/nominatim/v1/details.php?place_id=79615667 relation details])

Thus, "Belgium" is wrong as it is in Germany" (Though not far from the Dutch and Belgium border.)

Additionally the district is wrong. Aachen is not in the district (Kreis) "Heinsberg" but forms its own district "city-region" (Stadtregion) "Aachen". Note: The District Heinsberg (north of Aachen) has a border with the District Aachen and with the Netherlands, but it does not have any border with Belgium!

The correct hierarchy is:

  • City: [http://en.wikipedia.org/wiki/Aachen Aachen]
  • [http://en.wikipedia.org/wiki/Aachen_%28district%29 District (city-region) Aachen]
  • [http://en.wikipedia.org/wiki/Cologne_%28region%29 Governmental district Cologne]
  • State: [http://en.wikipedia.org/wiki/North_Rhine-Westphalia North Rhine-Westphalia]
  • [http://en.wikipedia.org/wiki/Germany Germany]
  • [http://en.wikipedia.org/wiki/Europe Europe]
@openstreetmap-trac
Copy link
Author

Author: matti[at]mversen.de
[Added to the original trac issue at 4.22am, Tuesday, 1st March 2011]

This seems to be fixed

@openstreetmap-trac
Copy link
Author

Author: ToB
[Added to the original trac issue at 8.23am, Tuesday, 1st March 2011]

Replying to [comment:1 matti@]:

This seems to be fixed

But not fully. Go to: http://www.openstreetmap.org/?lat=51.02057&lon=6.11393&zoom=15
Click on "Where am I?" and Nominatim claims:
Heinsberg, Stadt, 52525, Belgium

Or simply search for Heinsberg in that area:
http://open.mapquestapi.com/nominatim/v1/search.php?q=Heinsberg&viewbox=6.08%2C51.04%2C6.14%2C51.01

That shows: "Heinsberg, B 221, Heinsberg, Stadt, Belgium"

If one searches further for the city itself, it finds correctly: "Heinsberg, Kreis Heinsberg, Regierungsbezirk Kln, North Rhine-Westphalia, Germany, Europe (Town)"

@openstreetmap-trac
Copy link
Author

Author: michiel[at]ict4schools.nl
[Added to the original trac issue at 10.54am, Tuesday, 1st March 2011]

See also related ticket #3551

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