osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.64k stars 1.01k forks source link

Route shields not correct for National Highways in India #20043

Closed SirSireesh closed 3 months ago

SirSireesh commented 4 months ago

Description

The route shield is rendered incorrectly. It shows a "44" with a white background in a generic rectangular box, where as its expected to show the route shield (shown in the same image).

The most likely reason for this is that India switched to using only the route number in the relation, so the relation for all national highways now use ref=xx instead of ref=NHxx. Ways are still tagged with ref=NHxx, which is probably why osmand is still showing the correct route shields some times. It appears tagging like this is the preffered way, according to the wiki.

Steps to reproduce

  1. Download a standard road map for an Indian location (screenshot is from Karnataka)
  2. Scroll to a national highway (the screenshot is of NH44 near Chikkabalapur)
  3. Zoom in or out until the white-box route-shields are shown

Actual result

Route numbers are rendered with a generic white box

Expected result

Route numbers should be rendered inside the relevant shield

Your Environment (required)

OsmAnd Version: 4.7.10
Android/iOS version:  14
Device model: OnePlus 6
Crash-Logs: NA
yuriiurshuliak commented 4 months ago

The bug has been reproduced. To reproduce, visit these coordinates: 20.66747, 78.92451. When zooming in, you'll see two shields for Highway 44, but the "44" on a white background should not be appearing. Check it out on OSM: OSM Link.

OsmAnd~ 4.8.0#2469m, released: 2024-06-10

xmd5a2 commented 3 months ago

Fixed. Karnataka and Maharashtra will be regenerated today.