[OSM-dev] Finding water vs. land

Igor Brejc igor.brejc at gmail.com
Sat May 9 20:21:23 BST 2009


Hi,

Frederik Ramm wrote:
> Hi,
>
> Tels wrote:
>   
>> This works fine, except for coastlines, where I have two problems:
>>     
>
> You're having exactly the same problems as the tiles at home project. The 
> project has solved them by artificially closing the coastlines to form 
> an ocean polygon. The mechanism to do it is in close-areas.pl if you 
> care to have a look.
>
>   
You can also find the C# code which does a (probably) similar thing in 
http://downloads.igorbrejc.net/osm/kosmos/source/Kosmos-2.3-source.zip ,
look for "CoastlinesProcessing" files.

Regards,
Igor

-- 
http://igorbrejc.net





More information about the dev mailing list