logo separator

[mkgmap-dev] access=no//access=private on short lines vs long lines

From Felix Hartmann extremecarver at gmail.com on Thu Aug 30 09:36:25 BST 2012

Mkgmap has some filters that allow for example not putting small areas 
into the map.

It would be great, to have a very simple filter for highways too, called 
via the style-file. I would imagine the following command to be very useful:

highway=service & ( access=private | access=no ) & 
mkgmap:filter:length<100m {delete highway; delete oneway; delete tunnel; 
delete bridge}


It does not need to be meters, it can be Garmin units,  so one can 
quickly experiment with it. This would come very handy so one could make 
clean maps without showing the private garden micromapping that is 
getting more and more common. Excluding all highways with 
access=no/access=private, however often runs into problems with faulty 
tagging. Having a length check should get rid of annoying for general 
use not usable micromapping. As the mkgmap filter would only be called 
upon request from the style-file, it should not harm performance 
(checking length of every way would of course).

-- 
keep on biking and discovering new trails

Felix
openmtbmap.org & www.velomap.org




More information about the mkgmap-dev mailing list