osmandapp / OsmAnd

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

Triangle-shaped virtual island appearing near the shores of Ain El Benian region, Algiers, disappearing upon zooming #19240

Open Yakoobb opened 8 months ago

Yakoobb commented 8 months ago

Description

When viewing the shores of Ain El Benian region in Algiers, a triangle-shaped virtual island appears in the map display. However, upon zooming in, the island disappears.

Steps to reproduce

  1. Open OsmAnd app.
  2. Navigate to the shores of Ain El Benian region, Algiers.
  3. Observe the map display, where the triangle-shaped virtual island appears.
  4. Zoom in on the area.

Actual result

A triangle-shaped virtual island appears near the shores of Ain El Benian region, Algiers, but disappears upon zooming in.

Expected result

The map should display accurate geographical features without any virtual anomalies, regardless of the zoom level.

Your Environment (required)

Operating System: [Android 12, 13] Osmand App Version: [Osmand / Osmand+ 4.6.13] Device Model: [Samsung Galaxy F13, Redmi Note 10 Pro] Connection Type: [Wi-Fi, Mobile Data]

yuriiurshuliak commented 8 months ago

The bug has been reproduced. Try to find these coordinates 36.80679047083185, 2.939194837275019 using Version 2 rendering. Also note that on Version 1 of the render, this point is displayed correctly.

OsmAnd~ 4.7.0#1748m, released: 2024-03-05

xmd5a2 commented 7 months ago

This is a bug in OpenGL. http://www.openstreetmap.org/#map=17/36.809418/2.941566 Zoom 17: изображение Basemap coastline is ok: изображение

Andrewschenko commented 7 months ago

The problem is that in this case the data cannot be read from large tiles - only from the base map, which is too rough at this point and shows it as land, not as sea. Looks like it's easier to be fixed in the basemap.

b

dmpr0 commented 7 months ago

Review

Screenshot
14 13
xmd5a2 commented 7 months ago

Black line is coastline.osm used in basemap generation. Blue line is simplified coastline obtained from World_basemap_mini.obf from zoom 9 ./inspector.sh -vmapobjects -osm -vmap -zoom=9 /home/xmd5a/osmand/World_basemap_mini_2.obf > /home/xmd5a/osmand/World_basemap_mini_2.osm) Screenshot_2024-04-04_09-28-23 Exactly blue line is visible in app. So there is no direct way to fix this by editing coastline.osm.