It's all looking fine at the moment...<br><br><a href="http://osm.newportcoastsoftware.com/?zoom=11&lat=14.80342&lon=120.25358&layers=0BTFFFFFF">http://osm.newportcoastsoftware.com/?zoom=11&lat=14.80342&lon=120.25358&layers=0BTFFFFFF</a><br>
<a href="http://osm.newportcoastsoftware.com/?zoom=8&lat=14.80342&lon=120.25358&layers=0BTFFFFFF">http://osm.newportcoastsoftware.com/?zoom=8&lat=14.80342&lon=120.25358&layers=0BTFFFFFF</a><br><br>
This view should be the coastline of the Philippines as produced by the coastline checking tools, plus captions of points (which is additional local layer) up to zoom 12...<br><br>The coastline is showing as all white, which shows it's thought to be complete... there were 9 errors that showed up in the processing, but, I've not worked out how to make them display on the render yet... I did however find one on the main coastcheck at, which could be a 9 node way I guess...<br>
<br><a href="http://tile.openstreetmap.nl/coastlines.html?zoom=14&lat=12.8092&lon=123.26351&layers=B00T">http://tile.openstreetmap.nl/coastlines.html?zoom=14&lat=12.8092&lon=123.26351&layers=B00T</a><br>
<br>The output from the script was as follows if anyone is interested...<br><br>osm2coast SVN version 0.12-20090223 $Rev: 4895 $<br><br>Reading in file: philippines.osm.bz2<br>Processing: Node(204k) Way(1k) Relation(0k)<br>
Reading in file: philippines.osm.bz2<br>Processing: Node(204k) Way(1k) Relation(0k)<br>Node stats: total(204783), max(349935162)<br>Way stats: total(1642), max(31405371)<br>Relation stats: total(0), max(0)<br>Pass 1: Collecting ways<br>
887 collected, 755 closed, 0 zero-length<br>Pass 2: Starting with 887 ways (epsilon=0.001)<br>Pass 2a: Adding to R-Tree<br>Pass 2b: Joining ways<br>Remain: 3 / 887 (complete 41)<br>Pass 2c: Consolidate remaining<br>Consolidated: 3<br>
Pass 3: Starting with 3 ways (epsilon=0.01)<br>Pass 3a: Adding to R-Tree<br>Pass 3b: Joining ways<br>Remain: 3 / 887 (complete 41)<br>Pass 3c: Consolidate remaining<br>Consolidated: 3<br>Pass 4: Starting with 3 ways (epsilon=0.1)<br>
Pass 4a: Adding to R-Tree<br>Pass 4b: Joining ways<br>Remain: 2 / 887 (complete 41)<br>Pass 4c: Consolidate remaining<br>Consolidated: 2<br>Dumping remaining<br>Total ways output: 887<br>ERROR: ld.so: object '/root/libtcmalloc.so' from LD_PRELOAD cannot be preloaded: ignored.<br>
ERROR: ld.so: object '/root/libtcmalloc.so' from LD_PRELOAD cannot be preloaded: ignored.<br>coast2shp SVN version 0.12-20090223 $Rev: 4895 $<br><br>Reading in file: data/coastline.osm.gz<br>Processing: Node(204k) Way(1k) Relation(0k)<br>
Reading in file: data/coast-merged.txt<br>Max vertex count: 40137<br>Polygons: 796, Arcs: 2<br><br>Node stats: total(204783), max(349935162)<br>Way stats: total(1642), max(31405371)<br>Relation stats: total(0), max(0)<br>
Resizing subarea array to 1024<br>Arc: Found 1 large objects out of 2, removed 0+0 nodes, approx memory 0.0MB<br>Polygon: Found 16 large objects out of 796, removed 0+0 nodes, approx memory 0.0MB<br>Processing (399,399)  (19937170.09,19937170.09)-(20037508.00,20037657.62)   max tree depth:8<br>
split ratio:0.55<br>processing data/coastline_c<br>9994<br>length=1615026<br>version=1000<br>type=5<br>extent:Envelope(13246555.08273602,511168.6087117034,14093233.21979928,2222622.647261268)<br> number shapes=796<br> number nodes=755<br>
processing data/coastline_i<br>9994<br>length=51586<br>version=1000<br>type=3<br>extent:Envelope(13149609.56089878,536857.1137060019,13326797.60526562,1280527.678805463)<br> number shapes=2<br> number nodes=1<br><b>processing data/coastline_p</b><br>
9994<br>length=176<br>version=1000<br>type=1<br>extent:Envelope(13155077.63132714,536857.1137060019,13244607.33367305,1158474.414221474)<br><b> number shapes=9<br> number nodes=9</b><br><b>processing data/processed_p</b><br>
9994<br>length=1665602<br>version=1000<br>type=5<br>extent:Envelope(13224604.96875,511168.6087117034,14093233.21979928,2222622.647261268)<br><b> number shapes=980<br> number nodes=827</b><br><b>processing data/processed_i</b><br>
9994<br>length=51586<br>version=1000<br>type=3<br>extent:Envelope(13149609.56089878,536857.1137060019,13326797.60526562,1280527.678805463)<br><b> number shapes=2<br> number nodes=1</b><br>done!<br><br>Bold are the key bits, coastline_p contains errors, processed_p contrains the main coast polygons and processed_i contains the incomplete coastline, which, for this is where the bounding box of the data extract cut of some coast...<br>
<br>I hope this helps,<br><br>d<br><br><div class="gmail_quote">2009/2/23 Jim Morgan <span dir="ltr"><<a href="mailto:jim@datalude.com">jim@datalude.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
D,<br>
<br>
Excellent. Someone who clearly knows what they're talking about.<br>
<br>
I'm extremely happy to hand this one off to you - you might have guessed I was stabbing in the dark there, but it seemed like too big an issue to leave alone. I'll keep my meddling browser out of there from now on ...<br>

<br>
I wasn't sure of the significance of the layer=-1 either, but as it was already there I left it in. Feel free to change this if it doesn't look right to you.<br>
<br>
Thanks for the tip about keeping coastlines down to ~ 250 node sections. Didn't see any mention of this in the literature, so its worth publicising this ...<br>
<br>
Jim<br>
<br>
D Tucny wrote, On Monday, February 23, 2009 02:51 PM:<br>
<div class="Ih2E3d">> That section of coastline is now 2193 nodes, this will be too big for<br>
> the 0.6 version of the API, coastline imported by the coastline import<br>
> tool would typically make ways of up to 250 nodes if I recall correctly,<br>
> over 2000 nodes will be a definite problem... It's an odd bit of<br>
> coastline tagging though, layer=-1 stands out as the strangest bit...<br>
><br>
> Along that section of coastline there are some odd bits that could<br>
> potentially confuse rendering, such as water areas that overlap, but<br>
> don't join, the coastline... But, this shouldn't confuse the coastline<br>
> checker...<br>
><br>
> I've split the coastline and fixed up some of these waterway/water area<br>
> coastline joins, I'll look to get a copy of the coastline checker<br>
> running here to see if I can see what it's problem is with this section...<br>
><br>
> d<br>
<br>
<br>
</div>--<br>
<div class="Ih2E3d">   datalude: information security<br>
   e: <a href="mailto:jim@datalude.com">jim@datalude.com</a><br>
   Philippines: +63 2 403 1311 / mob: +63 920 912 5830<br>
   Hong Kong: +852 9100 7586<br>
   w: <a href="http://www.datalude.com/" target="_blank">http://www.datalude.com/</a><br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">talk-ph mailing list<br>
<a href="mailto:talk-ph@openstreetmap.org">talk-ph@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-ph" target="_blank">http://lists.openstreetmap.org/listinfo/talk-ph</a><br>
</div></div></blockquote></div><br>