logo separator

[mkgmap-dev] Terraced/pixellated coastline with --precomp-sea

From Gerd Petermann GPetermann_muenchen at hotmail.com on Sun Feb 19 20:46:57 GMT 2017

Hi NopMap,

I think you found an error in mkgmap. It has a routine which merges shapes with the same attributes.
This routine ignores the mkgmap:skipSizeFilter. 

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von NopMap <ekkehart at gmx.de>
Gesendet: Sonntag, 19. Februar 2017 20:51
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Terraced/pixellated coastline with --precomp-sea

Hi Gerd,


Gerd Petermann wrote
> The default style contains this line:
> natural=sea { add mkgmap:skipSizeFilter=true; set mkgmap:drawLevel=2 }
> [0x32 resolution 10]
>
> which in fact tells mkgmap to skip the size filter for the polygons
> generated by precomp-sea.

Thank you, that was the missing key information. My custom style does not
contain any such line. After adding a similar rule to my style, I was able
to get proper sea areas.

But I was forced to use the 0x32 area like in your example. It was unused in
my style and I never had a rule for it. First I tried 0x3C which I used for
all large water bodies - including the generated sea polys - in the past,
but then the sea polygons were disappearing again. It seems that multiple
rules leading to the same Garmin object are somehow connected and the
skipSizeFilter is somehow cancelled.

I still do not understand why --generate-sea has worked without any rule
like the one you posted and without using 0x32 for years, as long as the sea
polys were generated from OSM data. Shouldn't the sea generator's output be
the same, regarless of the source of input?




--
View this message in context: http://gis.19327.n8.nabble.com/Terraced-pixellated-coastline-with-precomp-sea-tp5891553p5891633.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list