<html>
<head>
</head>
<body>
        <div>Ok, but when it comes to SimplifyVW I guess we don't have to care about the default to Douglas-Pecker version.</div>
        <div><br />
                </div>
        <div>For reference ST_SimplifyVW outputs </div>
        <div><br />
                </div>
        <div>
                <div>POLYGON((0.5 1.5,100 200,0 200,0.5 1.5));</div></div>
        <div>from :</div>
        <div>SELECTST_AsText(ST_SimplifyV('POLYGON((0.5 1.5,1.5 1.5,2.5 2.5,4.5 4,100 200,0 200,-0.5 5.5,0 3.5,0.5 1.5))'::geometry, 1000));</div>
        <div><br />
                </div>
        <div>Javier, do you get the same from your version (with very high last parameter)?</div>
        <div><br />
                </div>
        <div>strk</div>
        <div>Is it implemented with most significant or evenly distributed 4 points?</div>
        <div><br />
                </div>
        <div>/Nicklas</div><br />
        <br />
         2015-04-07 skrev Javier Santana :<br />
        <br />
        >
        <div>I did some tests on that: <a target="_blank" href="https://github.com/javisantana/postgis/commit/8cc94f292fadf9295bc928f4a67e83e919408e01">https://github.com/javisantana/postgis/commit/8cc94f292fadf9295bc928f4a67e83e919408e01</a>>
                <div><br />
                        ></div>>
                <div><br />
                        ></div></div>>
        <div><br />
                >>
                <div>On Tue, Apr 7, 2015 at 10:58 AM, Sandro Santilli <<a target="_blank">strk@keybit.net</a>> wrote:<br />
                        >On Sat, Apr 04, 2015 at 11:11:29PM +0200, Nicklas Avén wrote:<br />
                        >
> Then I am on the right track with SimplifyVW. But I use the most significant points instead of evenly distributed 4 points.<br />
                        >
> But I don't know if that is easy to implement with possible with Douglas-Pecker.<br />
                        ><br />
                        >I think it's already implemented, just needs to be exposed once we<br />
                        >
have an acceptable parameter to specify user wants that behavior,<br />
                        >
as people complained when the default was changed.<br />
                        ><br />
                        >
--strk;<br />
                        >>
                        <div>>
                                <div>_______________________________________________<br />
                                        >
postgis-devel mailing list<br />
                                        ><a>postgis-devel@lists.osgeo.org</a><br />
                                        ><a target="_blank" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel">lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a><br />
                                        ></div></div></div><br />
                ></div>


 
</body>
</html>