logo separator

[mkgmap-dev] polygon-size-limit inside polygons file - large work to implement?

From WanMil wmgcnfg at web.de on Wed Jul 10 19:07:47 BST 2013

I have an implementation of such a style function.
It is based on the algorithm described here: 

But I don't know about the license and therefore I wonder if I can 
commit that.


> I would prefer a style-function like we have already for length of ways.
> Eg. called polygon-size and returns the size in m². I think this is not
> much more work, but it is a lot more flexible.
> Henning
> Am 10.07.2013 17:21, schrieb Felix Hartmann:
>> Well I recently noticed, that some super detail mappers, started to map
>> landuse=grass or leisure=garden for supersmall areas. E.g. a 2x4m
>> private garden, or a 1mx10m long strip between both sides of a road.
>> Yuck....
>> I would prefer to keep my maps clean, and get rid of that garbage. Could
>> there be a polygon-size-filter that works also for resolution=24, and
>> that can be setup much more aggressive?
>> Especially for gardens and grass, I don't need small private ones, but
>> would like to keep big public gardens and grassfields.
>> So could there be an implementation like the following for the polygons
>> file:
>> {set mkgmap:polygon-size-limit=24:30 ; 23:20 ; 22:15 ..} which overrides
>> the default setting?
>> g. called polygon-size
>> That would be absolutely great for combating all the micromapping junk!
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

More information about the mkgmap-dev mailing list