logo separator

[mkgmap-dev] patch for omitting nearby POIs with the same name and type

From Mike Baggaley mike at tvage.co.uk on Wed Aug 19 23:14:53 BST 2015

Hi, please find attached a patch that adds two new options:
--max-same-poi-distance=distance and
--include-nearby-poi-types=type[,type...]. These options are used to
determine whether nearby POIS are duplicates and should be omitted from the
map, extending the existing check for duplicates at the exact same location.
They help to reduce the problems cause by OSM data frequently having an area
such as a building tagged with the same information as a point or where
multiple areas are given the same name - this is most problematic if the
--add-pois-to-areas option is used. It may be valid for some named POI types
to be found close together hence the option to omit certain types of POI
from the nearby processing. I have the distance set to 50 with bus stops and
cave entrances always included and this seems to work well for me (I don't
use the default style). If --max-same-poi-distance is omitted or set to 0,
the check works as previously. 


Please try and if OK, commit.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150819/bb4ed145/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nearbypoi.patch
Type: application/octet-stream
Size: 7430 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150819/bb4ed145/attachment-0001.obj>

More information about the mkgmap-dev mailing list