osmandapp / OsmAnd

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

Pedestrian ares is not correctly rendered #10620

Open thuryn opened 3 years ago

thuryn commented 3 years ago

I've checked the pedestrian area in openstreetmaps.org, in Osmand and in reality - reality corresponds with openstreetmaps.org, but Osmand has rendered it in a strange way. openstreetmaps.org: obrazek

Osmand: obrazek

Direct link to openstreetmaps.org: https://www.openstreetmap.org/#map=19/50.20452/14.47742

Just open Osmand and navigete to that place and you can see it.

Your Environment

OsmAnd Version: 3.8.4 Android/iOS version: Android 10 Device model: Xiaomi Mi 9

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. Czech-republic_europe.obf with Osmand live (the pedestrian area is recent).

xmd5a2 commented 3 years ago

@thuryn What exactly do you mean by "strange way"?

thuryn commented 3 years ago

the playground is not properly rounded and two pedestrian areas are not aligned - see the red pencil: obrazek

scaidermern commented 3 years ago

OsmAnd simplifies small/all(?) polygons which probably leads to these artifacts.

ManDay commented 3 years ago

Not that it would excuse the artifact, but the whole thing is chaotically mapped in the first place (plenty of duplicate points and the path's with some 20cm node spacing). I corrected it in this CS. I'd say close this issue; the downsampling that's done only failed because the features were not correctly related. That's not a situation to which the algorithm should be adapted.