logo separator

[mkgmap-dev] Understanding the sea

From Ronny Klier ronny.klier at s1999.tu-chemnitz.de on Wed Dec 30 00:18:33 GMT 2009

Am 30.12.2009 01:13, schrieb Ronny Klier:
>
>
> Am 20:59, schrieb Mark Burton:
>> Hi,
>>
>> I'm trying to understand how the --generate-sea stuff works. I want to
>> know how it decides whether an "island" is water or land. The code does
>> not really contain sufficient comments for me to work out what it's
>> doing. I would expect it to close coastline segments that reach the
>> tile boundary in a direction that is consistent with the "water on the
>> right" convention but I can't see that in the code. Can anyone help
>> please?
>>
>> Thanks,
>>
>> Mark
>>
> Hi,
>
> I'm working for a while on the flooded island problem. Here's what I 
> found:
>
> To solve this I added code to find the nearest border and add a point 
> at this border. There should be no new problem through this because 
> the created point is in an empty area. (sea attached patch)
>
> I hope this helps a bit.
>
> Ronny
>
Sorry, I forgot to attach the patch in my last mail
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Osm5XmlHandler.java.patch
Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091230/3c03c313/attachment.pl 


More information about the mkgmap-dev mailing list