osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.72k stars 1.03k forks source link

Reverse geocoding: data normalization NC-42 != NC 42 East #16715

Open Zirochkabila opened 1 year ago

Zirochkabila commented 1 year ago

Description

Incorrect display of the city in the name of the establishment

Map

OSM OSM

Steps to reproduce

Find this place 35.64847° N, 78.39355° W and 35.64872° N, 78.39230° W

Actual result

Android: Flowers
iOS: Wilson Mills

Expected result

Clayton - like that 35.64916° N, 78.39373° W

Your Environment

OsmAnd Version: OsmAnd~ 4.4.0#14239mqta, Released: 2023-03-15 / 4.4.6.6 Android/iOS version: Android 12 / iOS 15.7.3 Device model: Poco x3 nfc / iPad mini 4

dmpr0 commented 1 year ago

https://www.openstreetmap.org/relation/179024#map=16/35.6487/-78.3976 Screenshot 2023-03-22 at 17 16 04

xmd5a2 commented 1 year ago

OsmAndMapCreator -> Where am I? Screenshot_2023-04-11_09-57-41

ivanPyrohivskyi commented 1 year ago

Search: nc 42 east 2627 NC-42 East Clayton

vshcherb commented 1 year ago

Reverse geocoding takes closest streets "NC 42" ("NC 42 West", "NC 42 East") and runs exact match which is incorrect here cause building is located at "Clayton NC-42 East 2627" so "NC-42" != "NC 42"