osmandapp / OsmAnd

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

Ocean/Land rendering error in v2 OpenGL that is not present in v1 #16404

Closed dangxit closed 1 year ago

dangxit commented 1 year ago

Description

For some of the costal area the ocean layer is rendered above the land layer of the map, at a certain range of zoom in the V2 OpenGL engine. The zoom range is roughly between 500m:1cm to 50m:1cm. The issue is not present when using the V1 engine. Screenshot_2023-02-07-00-21-03-441-edit_net.osmand.plus.jpg

How to reproduce?

Issues only occur at the specific location of the map when viewing between roughly 500m:1cm and 50m:1cm . The one I found is located in Zhuhai, PRC at 22.28678° N, 113.57270° E the ocean area is rendered above the land area

Your Environment

OsmAnd Version: OsmAnd+ F-droid 4.3.5 Android/iOS version: Android 12 Device model: Redmi POCO F3 (Redmi K40)

Maps used (online or offline):
If you have an issue related to offline maps, tell us the exact name of the map file where the issue occurs and its edition date. Offline Map: China, Guangdong Province 2023/FEB/1

DmitryAlexei commented 1 year ago

OsmAnd~ 4.4.0#14173mqta, released: 2023-02-13 China, Guangdong Province 2023/FEB/1 map Not reproduced

vshcherb commented 1 year ago

@DmitryAlexei please check different zooms probably this is not relevant any more cause maps are updated.

DmitryAlexei commented 1 year ago

I checked this place with different zoom levels and with old and new rendering engines. I cannot observe it there. But near that place can be found other related to rendering (or map source) issues:

  1. 21.99641° N, 113.27231° E

https://user-images.githubusercontent.com/116079541/218960426-5f26d3df-c50b-472d-932c-c04ad38f01f0.mp4

Video from OSM
  1. Huge massive of ponds isn't displayed on high zoom levels. 22.08128° N, 112.78424° E

https://user-images.githubusercontent.com/116079541/218962707-711a2a73-2673-46ea-b80f-624d59e7ffa5.mp4

Video from OSM
  1. With OpenGl Hong-Kong and Macao maps displayed as downloaded (in green color) while they are not. With rendering version 1 works fine. See difference in old (left) and new rendering:
DmitryAlexei commented 1 year ago

Also see ponds near ocean at 22.06164° N, 113.01018° E :

https://user-images.githubusercontent.com/116079541/218997828-b81f646c-ae65-4b9a-b15a-9047e1663efe.mp4

This behavior also persists with the old rendering

Video from OSM
jsoriano commented 1 year ago

@vshcherb has this issue been fixed? I am seeing similar issues with OpenGL rendering that I cannot reproduce with V1 rendering.

I am using 4.3.12 on a Fairphone 3.

Some screenshots: Screenshot_20230304-224914 Screenshot_20230304-224729 Screenshot_20230304-225000

Zirochkabila commented 1 year ago

@jsoriano Please create a new issue with all the data described in your comment