osmandapp / OsmAnd

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

Overlapping maps makes wrong address #5349

Open ghost opened 6 years ago

ghost commented 6 years ago

Because I don't want to post the topic twice, below in German.

Hello, I hope I'm right here in the forum. I have a problem with OsmAnd. I have tested it and think that this problem is related to the individual maps (further explanations below).

If I select a street on the map, for example in Lampertheim, the wrong city (Ludwigshafen or Worms) is always displayed, but I have not found any errors in OSM. I am using OsmAnd+ 2.9.3 with the Hesse and Rhineland-Palatinate (rlp) map from April 1, 2018 (and also tested with new maps from May 1). Strangely, the problem does not occur if I have only installed the map of Hesse and not the map of Rhineland-Palatinate. And if I have no map at all (or only the overview map) installed and then click there, then is displayed, download map of Rhineland-Palatinate, although it is actually located in the state Hesse.

I think that's the problem. If I have only installed the map of Rhineland-Palatinate (rlp), then a small piece of Hesse is still included, and the names are therefore wrong. And sometimes big roads just disappear when you zoom, because some roads/data are not included in the right maps. The Rhineland-Palatinate map partly contains data from Hesse, but the Hesse map sometimes also contains this data. And sometimes the Hesse map does not contain any data, although it should actually contain them.

Pictures should clarify the problems. 1: Here you can see the overlay at both borders. 2: Rhineland-Palatinate is on the western side of the Rhine (it is also correctly mapped in OSM). However, you can also see some data from Hesse (e.g. Lampertheim). 3: Only the Rhineland-Palatinate map is installed here and then the town Ludwigshafen is displayed for streets in Lampertheim. 4.5: Or Worms 6,7: If you have only installed the overview map and click on the street in Lampertheim, you should download the map of Rhineland-Palatinate. (Although Lampertheim is in Hesse.) 8: If you have only installed the Hesse map, the location is displayed correctly as Lampertheim. 9,10: If both the Hesse and Rhineland-Palatinate maps are now installed, then the location is displayed incorrectly again (because OsmAnd uses the rlp map here??).

For this problem (pictures 11-15) I found the mistake. It is not displayed because this area belongs to Baden-Würtemberg and not to Hesse. :man_facepalming: Pardon me, my mistake. However, the other bugs still exist, I haven't found any errors in my thinking yet.

11,12: Here the overview, Hesse and Rhineland-Palatinate maps are installed again, if you zoom, then the B44 and A6 disappear. 13,14,15: This is probably because these roads are not included in the Hesse/RLP map, but only in the overview map.

Thanks for all the helpful answers. (Translated with www.DeepL.com/Translator)

EDIT: Problem 2 (images 11 to 15) fixed

---German--- Hallo, ich hoffe ich bin hier richtig im Forum. Ich habe ein Problem mit OsmAnd. Ich habe es ausgetestet und denke, dass dieses Problem mit den einzelnen Karten zusammenhängt (unten weitere Erklärungen).

Wenn ich auf der Karte eine Straße bspw. im Ort Lampertheim auswähle, wird immer die falsche Stadt (Ludwigshafen oder Worms) angezeigt, ich habe allerdings in OSM keinen Fehler gefunden. Ich benutze OsmAnd+ 2.9.3 mit der Hessen- und Rheinland-Pfalz (rlp)-Karte vom 1. April 2018 (auch getestet mit neusten Karten vom 1. Mai). Komischerweise tritt das Problem nicht auf, wenn ich nur die Karte von Hessen und nicht die Karte von Rheinland-Pfalz installiert habe. Und wenn ich überhaupt keine Karte (bzw. nur die Übersichtskarte) installiert habe und dann dort klicke, dann wird angezeigt, Karte von Rheinland-Pfalz herunterladen, obwohl es eigentlich in Hessen liegt.

Ich denke nun, genau das ist das Problem. Wenn ich nur die Karte von Rheinland-Pfalz (rlp) installiert habe, dann wird mir ein kleines Stück von Hessen noch mit angezeigt, und die Namen sind deshalb falsch. Und manchmal verschwinden große Straßen einfach, wenn man zoomt, weil manche Straße/Daten nicht in den richtigen Karten enthalten sind. Die Rheinland-Pfalz-Karte enthält teilweise Daten von Hessen, allerdings enthält die Hessen-Karte manchmal auch diese Daten. Und manchmal enthält die Hessen-Karte keine Daten, obwohl es diese eigentlich enthalten müsste.

Bilder sollen die Probleme verdeutlichen. 1: Hier kann man an beiden Grenzen die Überlagerung sehen. 2: Rheinland-Pfalz liegt auf der westlichen Rheinseite (es ist auch richtig in OSM gemappt). Allerdings kann man hier teilweise auch Daten aus Hessen sehen (bspw. Lampertheim). 3: Hier ist nur die Rheinland-Pfalz-Karte installiert und dann wird bei Straßen in Lampertheim der Ort Ludwigshafen angezeigt. 4,5: Oder Worms 6,7: Wenn man nun nur die Übersichtskarte installiert hat und auf die Straße in Lampertheim klickt, soll man die Karte von Rheinland-Pfalz herunterladen. (Obwohl Lampertheim in Hessen liegt.) 8: Wenn man nur die Hessen-Karte installiert hat, wird der Ort richtig als Lampertheim angezeigt. 9,10: Wenn nun allerdings die Hessen- und Rheinland-Pfalz-Karte beide installiert sind, dann wird der Ort wieder falsch angezeigt (weil OsmAnd hier auf die Rlp-Karte zurückgreift?).

Für dieses Problem (Bilder 11-15) habe ich den Fehler gefunden. Es wird nicht angezeigt, da dieser Bereich zu Baden-Würtemberg und nicht zu Hessen gehört. :man_facepalming: Entschuldigung, mein Fehler. Die anderen Fehler bestehen allerdings weiterhin, hier habe ich noch keinen Denkfehler meinerseits gefunden.

11,12: Hier sind wieder die Übersichts-, Hessen- und Rheinland-Pfalz-Karte installiert, wenn man jetzt zoomt, dann verschwinden die B44 und A6. 13,14,15: Das liegt wahrscheinlich daran, dass diese Straßen nicht in der Hessen-/RLP-Karte enthalten sind, sondern nur in der Übersichtskarte.

Danke für alle hilfreichen Antworten.

EDIT: Problem 2 (Bilder 11 bis 15) korrigiert

1 map hessen rlp uberlagerung overlay 2 only map rlp 3 only map rlp wrong city name 4 only map rlp wrong city name 2 5 only map rlp wrong city name 3 6 only world overview map map with 181 7mb is needed 7 map with 181 7mb is rlp 8 only hessen map 9 hessen and rlp map wrong city name 10 hessen and rlp map wrong city name 2 11 world overview hessen and rlp map see b44 a6 12 zoomed world overview hessen and rlp map see b44 a6 is missing 13 only hessen map b44 a6 is missing 14 only rlp map b44 a6 is missing 15 only world overview map b44 a6 is showed

ghost commented 6 years ago

Hello, I have updated to LineageOS 15.1 and now I have the latest version 3.0.3 of OsmAnd, the problem (pictures 1-10) still exists.

vshcherb commented 4 years ago

What I see there is no place=town for this boundary https://www.openstreetmap.org/relation/537050 https://www.openstreetmap.org/node/240081797 So that's why streets have wrong association I suspect

vshcherb commented 4 years ago

Actually if I delete Rhineland-Palatinate all addresses are correct. Strange enough I couldn't reproduce it any more with latest map, if you have this wrong especially on a house number it could help a lot.