Hi, I see there is a problem with OSM regarding reverse geocoding. For example for address in city Katowice: Katowice, Śródmieście, 18 sierpnia

It returns that it is city "Gorzów Wielkopolski" =

https://nominatim.openstreetmap.org/?format=jsonv2&accept-language=pl&countrycodes=pl&addressdetails=1&polygon_geojson=1&limit=1&q=Katowice,%20%C5%9Ar%C3%B3dmie%C5%9Bcie,%2018%20sierpnia

But, if word in address will be changed to "Katowice, 18 sierpnia" it returns corect address for city Katowice:

https://nominatim.openstreetmap.org/?format=jsonv2&accept-language=pl&countrycodes=pl&addressdetails=1&polygon_geojson=1&limit=1&q=Katowice,%2018%20sierpnia

How to avoid such problems? Cause it totally different cities and provide more problems than help. I don't understand why OSM does not include word "Katowice" as main city or at least try to check Katowice, because it is better result than Gorzów (street match as well as city).

asked 06 Sep '20, 11:14

michal%20galaszewski's gravatar image

michal galas...
11112
accept rate: 0%


The street and the address in question is not within the boundary of Śródmieście (in Katowice) see https://nominatim.openstreetmap.org/ui/search.html?q=%C5%9Ar%C3%B3dmie%C5%9Bcie%2C+

permanent link

answered 08 Sep '20, 13:39

SimonPoole's gravatar image

SimonPoole ♦
42.5k13309670
accept rate: 19%

edited 08 Sep '20, 13:40

I get it, but still adress more similar for Katowice disregarding that the street does not belong to Srodmiescie boundary that searching for totally different city. Still think it is a problem with reverse geocoding or I am doing something wrong. Cause I have no influece on what the address I expect - i get it from real estate advertisement and just making sure, that geo_point is similar to text address provided.

(08 Sep '20, 17:10) michal galas...

Have you tested against Photon? It uses data form nominatim, but is more forgiving wrt errors. http://photon.komoot.de/

(08 Sep '20, 18:21) SimonPoole ♦
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:

×81
×34
×4

question asked: 06 Sep '20, 11:14

question was seen: 417 times

last updated: 08 Sep '20, 18:21

powered by OSQA