
Hi Mike, thanks, you are right, I've changed removeSimpleDuplicates() in r4525. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Mike Baggaley <mike@tvage.co.uk> Gesendet: Montag, 8. Juni 2020 16:20 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Nearby POIs Hi Gerd, The solution gets rid of the unexpected error message, however, it does not delete POIs that were originally coincident. Perhaps a better solution would be not use the set of locations for testing uniqueness in removeSimpleDuplicates, instead using a list and trawl the list using high precision comparison to determine whether the coordinate matches another. It could even compare both in high precision and displayed precision so that POIs which have been moved to be coincident are also removed. As the list will only contain a few coordinates it shouldn't be expensive. To help minimise enumerations, the list could be ordered by longitude or latitude if necessary. Another option would be to derive a class with different iterator comparator which might be useful elsewhere. Regards, Mike
I added options --route --link-pois-to-ways and finally could reproduce the problem with the small file. Should be fixed with r4523. The high-prec-stuff makes many things better but it is also is a constant source for problems like these
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev