logo separator

[mkgmap-dev] nearby-POI: What to do with several POI arranged on a circle?

From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu May 7 08:42:25 BST 2020

Hi all,

while doing further tests I've found this edge case (see attached file)
Draw a circle with a diameter of ~56m and tag all nodes amenity=bank.
The default style has 
amenity=bank [0x2f06 resolution 24]

With --nearby-poi-rules=0x2f06:30:merge-at-mid-point one might expect a single POI in the middle of the circle, but the result is different:
Since there is no POI near the center of the circle the current algo finds 4 groups, all close to the edge of the circle.

I think for merge-at-mid-point I need a different algo. I'm looking at https://en.wikipedia.org/wiki/Cluster_analysis now.

Gerd



-------------- next part --------------
A non-text attachment was scrubbed...
Name: circle.osm
Type: application/octet-stream
Size: 4564 bytes
Desc: circle.osm
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200507/5716ff4d/attachment.obj>


More information about the mkgmap-dev mailing list