On Sun, Aug 31, 2008 at 2:50 PM, Martijn van Oosterhout <[EMAIL PROTECTED]> wrote: > On Sun, Aug 31, 2008 at 2:07 PM, Dave Stubbs <[EMAIL PROTECTED]> 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 _______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk