Ah I get it ... So it detects node strings that form a "step" (a horizontal and a vertical combination).  It may be good to make mappers aware that such a combination will trigger sawtooth detection by Eugene's script.  For there are some coastline contours that are indeed on a step shape.  Good way to avoid it is to move the nodes just a bit so the longitude/latitude pairings would not be exactly the same.  I found this out on one of my Marinduque island edits.<br>
<br>thanks!<br><br><br><div class="gmail_quote">On Tue, Jul 6, 2010 at 9:31 AM, maning sambale <span dir="ltr"><<a href="mailto:emmanuel.sambale@gmail.com">emmanuel.sambale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
@ ed,<br>
The technique is outlined here:<br>
<a href="http://wiki.openstreetmap.org/wiki/Talk:WikiProject_Philippines/Coastline_Corrections" target="_blank">http://wiki.openstreetmap.org/wiki/Talk:WikiProject_Philippines/Coastline_Corrections</a><br>
<br>
Couple of suggestions:<br>
1. short link to the coastline correction wikipage<br>
2. enable link to editors only at higher zoom level (perhaps 15-17?)<br>
3. should be an osm-ph image of the week<br>
<div><div></div><div class="h5"><br>
On Tue, Jul 6, 2010 at 9:20 AM, Ed Garcia <<a href="mailto:eppgarcia@gmail.com">eppgarcia@gmail.com</a>> wrote:<br>
> Wow! amazing ... how do you detect "sawtoothness"?  can you teach this at<br>
> the skillshare?  OSM genius ka talaga!<br>
><br>
> Anyway, I take note of the sawtooth patterns between Lucena and Pagbilao<br>
> Quezon ... I have corrected this already but the sawtooth appears only on<br>
> higher zoom-out levels now.  Does this mean it is good as "done" now?  It<br>
> still appears on yoursawtooth_coastlines map though.<br>
><br>
> ed<br>
><br>
> On Tue, Jul 6, 2010 at 1:04 AM, Eugene Alvin Villar <<a href="mailto:seav80@gmail.com">seav80@gmail.com</a>><br>
> wrote:<br>
>><br>
>> HI guys,<br>
>><br>
>> Here's an *initial* webmap showing where the jagged coastlines are as of<br>
>> July 3:<br>
>> <a href="http://forge.codedgraphic.com/osm/sawtooth_coastlines/" target="_blank">http://forge.codedgraphic.com/osm/sawtooth_coastlines/</a><br>
>><br>
>> The larger the circle, the more jagged steps there are to clean up.<br>
>><br>
>> Sorry, there's no link going to Potlatch or JOSM/Merkaartor. I'll add that<br>
>> up when I learn more of OpenLayers. But for now, this will have to do.<br>
>><br>
>> Enjoy!<br>
>><br>
>> Eugene<br>
>><br>
>> On Mon, Jul 5, 2010 at 9:30 AM, maning sambale<br>
>> <<a href="mailto:emmanuel.sambale@gmail.com">emmanuel.sambale@gmail.com</a>> wrote:<br>
>>><br>
>>> We missed the June target to to finish the 10 largest islands.<br>
>>><br>
>>> <a href="http://wiki.openstreetmap.org/wiki/WikiProject_Philippines/Coastline_Corrections#Priorities" target="_blank">http://wiki.openstreetmap.org/wiki/WikiProject_Philippines/Coastline_Corrections#Priorities</a><br>

>>><br>
>>> That's OK.  All we need is to finish mainland Mindanao and we can set<br>
>>> our radar to the next 20 on the list.<br>
>>> We are also working on some webmap to visualize the "sawtooth".  More<br>
>>> on that when its ready.<br>
>>><br>
>>><br>
>>> On Sun, Jul 4, 2010 at 5:48 PM, maning sambale<br>
>>> <<a href="mailto:emmanuel.sambale@gmail.com">emmanuel.sambale@gmail.com</a>> wrote:<br>
>>> > I can load it in my public dropbox.<br>
>>> ><br>
>>> > On Sun, Jul 4, 2010 at 2:23 PM, Eugene Alvin Villar <<a href="mailto:seav80@gmail.com">seav80@gmail.com</a>><br>
>>> > wrote:<br>
>>> >> Hi guys,<br>
>>> >><br>
>>> >> Once we are done with the large islands, the next step is to do the<br>
>>> >> smaller<br>
>>> >> islands. Ian Haylock has helpfully provided the PGS coastlines[1] for<br>
>>> >> the<br>
>>> >> Philippines last year[2] which he edited to combine ways. PGS itself<br>
>>> >> was<br>
>>> >> automatically generated by a software by analyzing the Landsat<br>
>>> >> imagery.<br>
>>> >> Unfortunately, Ian's file was hosted on a free file server and has now<br>
>>> >> expired but I think several people on the mailing list managed to<br>
>>> >> download<br>
>>> >> it.<br>
>>> >><br>
>>> >> I tried opening the file last year in Merkaartor but my old laptop<br>
>>> >> couldn't<br>
>>> >> handle the data. Now that I have a 4GB-RAM laptop, loading the data<br>
>>> >> into<br>
>>> >> Merkaartor is very manageable. Using the PGS coastlines is much, much<br>
>>> >> easier<br>
>>> >> than tracing Landsat by hand. I tried this with Homonhon Island and<br>
>>> >> editing<br>
>>> >> is way faster than actually uploading it[3]. Hehehe. What I did was to<br>
>>> >> delete the SRTM-derived coastline[4] and replace it with the PGS<br>
>>> >> coastline[5].<br>
>>> >><br>
>>> >> I think uploading the PGS coastlines is better for the smaller<br>
>>> >> islands. I'll<br>
>>> >> see what we can do to have the PGS coastlines (55MB) uploaded<br>
>>> >> somewhere.<br>
>>> >><br>
>>> >> [1] <a href="http://wiki.openstreetmap.org/wiki/Prototype_Global_Shoreline" target="_blank">http://wiki.openstreetmap.org/wiki/Prototype_Global_Shoreline</a><br>
>>> >> [2]<br>
>>> >> <a href="http://lists.openstreetmap.org/pipermail/talk-ph/2009-June/001071.html" target="_blank">http://lists.openstreetmap.org/pipermail/talk-ph/2009-June/001071.html</a><br>
>>> >> [3] <a href="http://www.openstreetmap.org/browse/changeset/5129873" target="_blank">http://www.openstreetmap.org/browse/changeset/5129873</a><br>
>>> >> [4] <a href="http://www.openstreetmap.org/browse/way/4327906" target="_blank">http://www.openstreetmap.org/browse/way/4327906</a><br>
>>> >> [5] <a href="http://www.openstreetmap.org/browse/way/65592780" target="_blank">http://www.openstreetmap.org/browse/way/65592780</a><br>
>>> >><br>
>>> >> Eugene<br>
>>> >><br>
>>> >><br>
>>> >> On Thu, Jun 17, 2010 at 8:20 PM, maning sambale<br>
>>> >> <<a href="mailto:emmanuel.sambale@gmail.com">emmanuel.sambale@gmail.com</a>><br>
>>> >> wrote:<br>
>>> >>><br>
>>> >>> UPDATE. Only two islands from the top ten need some coasty coastline<br>
>>> >>> love.<br>
>>> >>><br>
>>> >>><br>
>>> >>> <a href="http://wiki.openstreetmap.org/wiki/WikiProject_Philippines/Coastline_Corrections" target="_blank">http://wiki.openstreetmap.org/wiki/WikiProject_Philippines/Coastline_Corrections</a><br>

>>> >>><br>
>>> >>> Anyone working on Negros and Mainland Mindanao?<br>
>>> >>><br>
>>> >><br>
>>> >><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > cheers,<br>
>>> > maning<br>
>>> > ------------------------------------------------------<br>
>>> > "Freedom is still the most radical idea of all" -N.Branden<br>
>>> > wiki: <a href="http://esambale.wikispaces.com/" target="_blank">http://esambale.wikispaces.com/</a><br>
>>> > blog: <a href="http://epsg4253.wordpress.com/" target="_blank">http://epsg4253.wordpress.com/</a><br>
>>> > ------------------------------------------------------<br>
>>> ><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> cheers,<br>
>>> maning<br>
>>> ------------------------------------------------------<br>
>>> "Freedom is still the most radical idea of all" -N.Branden<br>
>>> wiki: <a href="http://esambale.wikispaces.com/" target="_blank">http://esambale.wikispaces.com/</a><br>
>>> blog: <a href="http://epsg4253.wordpress.com/" target="_blank">http://epsg4253.wordpress.com/</a><br>
>>> ------------------------------------------------------<br>
>>><br>
>>> _______________________________________________<br>
>>> 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>
>><br>
>><br>
>><br>
>> --<br>
>> <a href="http://vaes9.codedgraphic.com" target="_blank">http://vaes9.codedgraphic.com</a><br>
>><br>
>> _______________________________________________<br>
>> 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>
>><br>
><br>
><br>
><br>
> --<br>
> website administrator:<br>
> - <a href="http://www.waypoints.ph" target="_blank">www.waypoints.ph</a><br>
> - <a href="http://reeflife.eppgarcia.com" target="_blank">reeflife.eppgarcia.com</a><br>
><br>
> PADI Divemaster #491048<br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">cheers,<br>
maning<br>
------------------------------------------------------<br>
"Freedom is still the most radical idea of all" -N.Branden<br>
wiki: <a href="http://esambale.wikispaces.com/" target="_blank">http://esambale.wikispaces.com/</a><br>
blog: <a href="http://epsg4253.wordpress.com/" target="_blank">http://epsg4253.wordpress.com/</a><br>
------------------------------------------------------<br>
<br>
_______________________________________________<br>
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><br clear="all"><br>-- <br>website administrator: <br>- <a href="http://www.waypoints.ph">www.waypoints.ph</a><br>- <a href="http://reeflife.eppgarcia.com">reeflife.eppgarcia.com</a><br>
<br>PADI Divemaster #491048<br>