logo separator

[mkgmap-dev] Commit: r1449: Provide an alternative to using a multipolygon when generating the sea.

From Felix Hartmann extremecarver at googlemail.com on Thu Dec 31 13:56:57 GMT 2009


On 31.12.2009 13:00, svn commit wrote:
> Version 1449 was commited by markb on 2009-12-31 12:00:01 +0000 (Thu, 31 Dec 2009)
>
> Provide an alternative to using a multipolygon when generating the sea.
>
> The --generate-sea option can now take a comma separated list of values:
>
> multipolygon - generate the sea using a multipolygon (the default
> behaviour so this really doesn't need to be specified).
>
> polygons | no-mp - don't generate the sea using a multipolygon - instead,
> generate a background sea polygon plus individual land polygons with
> tag natural=land. This requires a suitable land polygon type to be defined
> in the style file (suggested type is 0x010100) and the polygon must be
> defined in the TYP file as having a higher drawing level than the sea
> polygon type.
>
> no-sea-sectors - disable the generation of "sea sectors" when the
> coastline fails to reach the tile's boundary.
>
> An unrecognised option value or the value "help" will cause some help
> blurb to be printed.
>
> For backwards compatibility, with no values specified, the --generate-sea
> option should behave as it did before.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>    
Even though I do think that this is similar to v3 patch I'll answer here.
I just tried compiling Denmark from geofabrik to see how well this new 
--generate-sea=polygons works.

It worked in 12/13 tiles. See below the broken tile where no 0x10f1d 
polygon for the sea (as defined in polygons file) got created at all, 
furthermore 1 island is flooded (in the center of the tile). I used grey 
as backround color so one can easily spot mistakes.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091231/85ddeb6d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: broken tile.png
Type: image/png
Size: 54629 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091231/85ddeb6d/attachment.png 


More information about the mkgmap-dev mailing list