[postgis-devel] Collapsing behavior for simplify

Sandro Santilli strk at keybit.net
Tue Apr 7 05:12:15 PDT 2015


On Tue, Apr 07, 2015 at 02:07:33PM +0200, Nicklas Av�n wrote:
> 
> Ok, but when it comes to SimplifyVW I guess we don't have to care about the default to Douglas-Pecker version.
> 
> For reference ST_SimplifyVW outputs 
> 
> 
> POLYGON((0.5 1.5,100 200,0 200,0.5 1.5));
> from :
> 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));
> 
> 
> Javier, do you get the same from your version (with very high last parameter)?
> 
> 
> strk
> Is it implemented with most significant or evenly distributed 4 points?

Should be most significant (greatest distance) but Javier should probably
know more about it by now.

--strk;



More information about the postgis-devel mailing list