osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.58k stars 1k forks source link

Map updates with negative id break search in osm live #3034

Closed jf-simon closed 7 years ago

jf-simon commented 8 years ago

Using #18373m with Germany baden-württemberg maps from 1. August. Without live maps the names poi aren't double. With update from 31.8.16 23:59 the poi are double displayed. See screenshot. Also some new opening hours aren't display, but shown if I edit the poi. img_20160901_001049 img_20160901_001034

Greetings Simon

vshcherb commented 8 years ago

Next time please provide osm link at least to location, so we can check OSM data first.

vshcherb commented 8 years ago

It is hard to trace back but I believe this is a duplicate of this issue https://github.com/osmandapp/Osmand/issues/2506

jf-simon commented 8 years ago

Here the location of "dr. Winterhalter" Lat 48.52480 Lon 8.56133 On map I haven't duplicated poi. Only in search. And with every live update it becomes worser. screenshot_2016-09-01-21-57-02 Freiwillige Feuerwehr Position: geo:48.526554,8.564572?z=18 http://osmand.net/go?lat=48.526554&lon=8.564572&z=18

Maybe this informations will help

PaulStets commented 7 years ago

While generating map updates POI get negative ids that cause duplicates in the Search. Location tested http://osmand.net/go?lat=48.526554&lon=8.564572&z=18 Example BinaryInspector output: route_hiking_lwn_poi Rundwanderweg 10 - Pfalzgrafenweiler Lat 48.5 Lon 8.575066 id=-156136

vshcherb commented 7 years ago

Fixed by now.