[Geocoding] City information missing/wrong

Sarah Hoffmann lonvia at denofr.de
Tue Jul 30 12:22:15 UTC 2013


Hi,

On Tue, Jul 30, 2013 at 01:07:22PM +0200, Florian Schaetz wrote:
> I'm trying to use the Nominatim geocoder and to evaluate the quality of a given result (by comparing the data returned with the data asked for), but here I found a problem...
> 
> "Keilberg" is a suburb of "Regensburg". When querying it, for example...
> 
> q=rotdornweg, regensburg
> 
> ..I'll get something like this...
> 
>                                "address" : {
>                                                "road" : "Rotdornweg",
>                                                "suburb" : "Keilberg",
>                                                "county" : "Regensburg",
>                                                "state_district" : "Regierungsbezirk Oberpfalz",
>                                                "state" : "Free State of Bavaria",
>                                                "country" : "Germany",
>                                                "country_code" : "de"
>                                }
> 
> The information, that the city is called "Regensburg" is somehow totally lost. Is there any chance to get the information about the city in the result? 

Unfortunately not, as the problems comes from the underlying OSM data.

It is a peculiarity of German city counties ("kreisfreie Städte") that
they are only mapped once with their lowest administrative level in OSM,
which is county (or even state for the three city states).
There is no way for Nominatim to know that those counties also
represent a city.

Sarah



More information about the Geocoding mailing list