[mkgmap-dev] Nearby POIs
From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Jun 8 07:18:38 BST 2020
Hi 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 :( Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com> Gesendet: Sonntag, 7. Juni 2020 20:48 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] Nearby POIs Hi Mike, okay, thanks for the hint. I probably have to try with a larger area to see this effect. So it's a another special case regarding the Coord.equal() method used with highPrec... Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike Baggaley <mike at tvage.co.uk> Gesendet: Sonntag, 7. Juni 2020 20:35 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] Nearby POIs Hi Gerd, stepping through the code in the debugger, I can see that the problem seems to be that the wrong angle fixer moves one of the points to an alternative representation that is identical in position, but is no longer the same coordinate. Thus it successfully adds it to the list of different points, but when it deletes it as a nearby POI, it calculates the distance from the best point to be zero. Latitude 2473177 delta 6 for both Longitude -98347 delta 29 for one, -98348 delta -35 for the other. Cheers, Mike -----Original Message----- From: Gerd Petermann [mailto:gpetermann_muenchen at hotmail.com] Sent: 07 June 2020 07:49 To: 'Development list for mkgmap' <mkgmap-dev at lists.mkgmap.org.uk> Subject: Re: [mkgmap-dev] Nearby POIs Hi Mike, I cannot reproduce the problem. I've downloaded the area around the node given in the message and used --nearby-poi-rules=0x3200:10 with the default style. I see these (expected) messages INFO: uk.me.parabola.mkgmap.osmstyle.NearbyPoiHandler f:\osm\nearby-dup.osm: Removed duplicate POI with type 0x3200 "stile" for element http://www.openstreetmap.org/node/7375220120 at http://www.openstreetmap.org/?mlat=53.068619&mlon=-2.110307&zoom=17 INFO: uk.me.parabola.mkgmap.osmstyle.NearbyPoiHandler f:\osm\nearby-dup.osm: Removed duplicate POI with type 0x3200 "stile" for element http://www.openstreetmap.org/node/4073250219 at http://www.openstreetmap.org/?mlat=53.068589&mlon=-2.110224&zoom=17 INFO: uk.me.parabola.mkgmap.osmstyle.NearbyPoiHandler f:\osm\nearby-dup.osm: Removed duplicate POI with type 0x3200 "stile" for element http://www.openstreetmap.org/node/4073236380 at http://www.openstreetmap.org/?mlat=53.068481&mlon=-2.109169&zoom=17 My test data is here: http://files.mkgmap.org.uk/download/479/nearby-dup.osm Maybe it depends on the given radius. I tried different values but I never got your message. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike Baggaley <mike at tvage.co.uk> Gesendet: Samstag, 6. Juni 2020 01:32 An: 'Development list for mkgmap' Betreff: [mkgmap-dev] Nearby POIs Just a small note about the distance calculation - I get the following message which suggests the message is slightly incorrect: Removed nearby (<0 m) POI with type 0x013009 "" for element http://www.openstreetmap.org/node/4073250218 at http://www.openstreetmap.org/?mlat=53.068619&mlon=-2.110307&zoom=17 Cheers, Mike _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Nearby POIs
- Next message: [mkgmap-dev] Nearby POIs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list