[OSM-talk] Coastline not updated on the cycle map ?
Dave Stubbs
osm.list at randomjunk.co.uk
Sun Aug 31 15:13:47 BST 2008
On Sun, Aug 31, 2008 at 2:50 PM, Martijn van Oosterhout
<kleptog at gmail.com> wrote:
> On Sun, Aug 31, 2008 at 2:07 PM, Dave Stubbs <osm.list at randomjunk.co.uk> wrote:
>> Yep, eventually.
>> We have to run the coastline building script ourselves due to some
>> changes to make the hillshading work.
>
> I understand that you have shapes for the sea rather than land? Do you
> postprocess the existing data or did you change the code?
>
Just changed the osm2coast program to reverse all the ways, and insert
a global bbox. Then I just stick that file through closeshp. The
result is that closeshp still thinks it's making land polygons (so no
logic changes needed), but its actually producing sea.
I did try initially to postprocess the normal shape files, but that
takes a long time, and doesn't work well because there are broken
polygons in there that render fine, but break when you try to do
spatial stuff to them... you can just drop these but then you end up
with horible gaps. It turns out that just reversing inputs is quicker,
more reliable, and requires less thought!
Dave
More information about the talk
mailing list