osmandapp / OsmAnd

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

Distorted offline map rendering near German-French border #2370

Closed RalfJung closed 8 years ago

RalfJung commented 8 years ago

Offline map rendering near borders is rather distorted: Some streets are not connected properly. This is best demonstrated by screenshots:

screenshot_2016-03-26-13-22-25 This is roughly https://www.openstreetmap.org/#map=17/49.20217/6.96757. You can see that the yellow main street is not connected properly.

screenshot_2016-03-26-13-22-43 This is roughly https://www.openstreetmap.org/#map=17/49.20421/6.94788. The "Rue Pasteur" roundabout-like structure being teared apart is the most noticeable bug, plus all those side streets of "Rue de Verdun" not being connected to the latter.

The affected map tiles here should be "Germany - Saarland" from 2016-03-04 and "France - Lorraine" from 2016-03-04 (not sure about the name of the latter in English; this is the French name, German name is "Lothringen".) This is using OsmAnd~ 2.1.1 from F-Droid on CyanogenMod 12.1.

xmd5a2 commented 8 years ago

Problem appears only at 1-19 (sometimes at 1-20) zooms when France - Lorraine and Germany - Saarland maps are installed together. But when France - Lorraine is the only map these roads are visible normally.

xmd5a2 commented 8 years ago

Saarland only: https://dl.dropboxusercontent.com/u/4624786/osm/Screenshots/Screenshot%20from%202016-03-30%2012%3A35%3A10.png Lorraine: https://dl.dropboxusercontent.com/u/4624786/osm/Screenshots/Screenshot%20from%202016-03-30%2012%3A35%3A41.png Saarland + Lorraine: https://dl.dropboxusercontent.com/u/4624786/osm/Screenshots/Screenshot%20from%202016-03-30%2012%3A36%3A02.png

xmd5a2 commented 8 years ago

Problematic way 37165601: Lorraine obf:

<way id = '18144284' version='1'>
        <tag k='highway' v='residential' />
        <tag k='oneway' v='yes' />
        <tag k='name' v='Rue Clemenceau' /> 
        <tag k='original_id' v='37165601'/>
        <nd ref = '18144277'/>
        <nd ref = '18144278'/>
        <nd ref = '18144279'/>
        <nd ref = '18144280'/>
        <nd ref = '18144281'/>
        <nd ref = '18144282'/>
        <nd ref = '18144283'/>
</way>

Saarland obf:

<way id = '2267667' version='1'>
        <tag k='highway' v='residential' />
        <tag k='oneway' v='yes' />
        <tag k='name' v='Rue Clemenceau' />
        <tag k='original_id' v='37165601'/>
        <nd ref = '2267662'/>
        <nd ref = '2267663'/>
        <nd ref = '2267664'/>
        <nd ref = '2267665'/>
        <nd ref = '2267666'/>
</way>
RalfJung commented 8 years ago

I am actually surprised to see these streets in the Saarland map, they are all entirely in France -- the boarder is a few hundred meters to the East.

xmd5a2 commented 8 years ago

Maps are overlapped to avoid gaps.

xmd5a2 commented 8 years ago

@RalfJung can you please recheck if issue is exists with current maps?

RalfJung commented 8 years ago

It seems to be all fixed, thanks :-)