logo separator

[mkgmap-dev] more refined mkgmap:skipSizeFilter=true handling

From GerdP gpetermann_muenchen at hotmail.com on Wed May 15 09:23:55 BST 2013

Hi,

I've committed r2609 that implements new option polygon-size-limits. 
It turned out to be rather complicated to use the levels value, so I decided
to
use the resolution. 

If given and syntactically correct, the option overrides the value for
min-size-polygon.

I hope that helps...
I do now try to find a solution for the small sea/land polygons.

Gerd

--polygon-size-limits=limits code
  Allows to specify different min-size-polygon values for each resolution.
  Sample:  
  --polygon-size-limits="24:12, 18:10, 16:8, 14:4, 12:2, 10:0"
  If a resolution is not given, mkgmap uses the value for the next higher 
  one. For the given sample, resolutions 19 to 24 will use value 12,
  resolution 17 and 18 will use 10, and so on.
  Value 0 means to skip the size filter. 
  Note that in resolution 24 the filter is not used.  




Felix Hartmann-2 wrote
> for me not (I only need it for sea anyhow). but the current 
> implementation is to have the mkgmap:skipSizeFilter=true to be added to 
> the style-file. min-size-polygon="0:12, 1:12, 3:12, 4:12, 5:10, 6:8, 
> 7:8, 8:4, 9:2, 10:1" or similar was my original request for this...
> 
> On 14.05.2013 17:47, Henning Scholland wrote:
>> But this should be handled in options. Like:
>>
>> min-size-polygon="0:12, 1:12, 3:12, 4:12, 5:10, 6:8, 7:8, 8:4, 9:2, 10:1"
>>
>> Or is it necessary to handle it different for different polygon types?
>>
>> Henning
>>
>> Am 14.05.2013 23:25, schrieb Felix Hartmann:
>>> b) A more optimal solution would be the following:
>>> mkgmap:changeSizeFilter="level:filter_strenght" so e.g. "0:12, 1:12,
>>> 3:12, 4:12, 5:10, 6:8, 7:8, 8:4, 9:2, 10:1"
>>> A filter working this way, would have great impact on the overview.img
>>> size, as well as normal map.img size - without leading to strong visual
>>> impact. (up to 50% saving on the overview.img size)
>>
> 
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: http://gis.19327.n5.nabble.com/more-refined-mkgmap-skipSizeFilter-true-handling-tp5761046p5761086.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list