osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.66k stars 1.02k forks source link

name:signed #21111

Open gtrus21 opened 1 week ago

gtrus21 commented 1 week ago

Description

name:signed see as norvegian name

Steps to reproduce

-

Actual result

-

Expected result

-

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive. Review this CAREFULLY before posting your issue!

OsmAnd Version:
Android/iOS version:
Device model:
Crash-Logs: ?
yuriiurshuliak commented 1 week ago

Please provide a more detailed description of the issue. We need the exact steps to reproduce it, along with the coordinates where the problem occurs.

gtrus21 commented 1 week ago

56.14349 47.20467 I don't know what exact steps you need. In the tags there is such a record, and in the description of the object this tag is shown as Norwegian

gtrus21 commented 1 week ago

OsmAnd~ 4.8.6

yuriiurshuliak commented 1 week ago

The bug has been reproduced. To reproduce it, go to the coordinates 56.14349, 47.20467, tap on the POI, and view the detailed information.

As a result, the Name is displayed in Norwegian.

This issue is likely connected to the name:signed=no tag, where =no is being interpreted as Norwegian. For reference, see this link: https://wiki.openstreetmap.org/wiki/Tag:name:signed%3Dno

OsmAnd~ 4.9.0#3527m, released: 2024-10-23

vshcherb commented 1 week ago

Bug parsing "name:signed:no" -> "name:no", looks like instead of substring(indexOf(':')) - substring(lastIndexOf(':')) is used.

We probably should display as it is "signed" - "no" (if not possible just ignore it)