[postgis-devel] ST_CleanGeometry
strk
strk at keybit.net
Mon Jan 31 01:12:15 PST 2011
On Sun, Jan 30, 2011 at 12:28:29PM -0500, Paragon Corporation wrote:
> Strk,
>
> I just realized in scanning thru the functions that we don't have
> ST_CleanGeometry documented.
>
> What is the difference between ST_CleanGeometry and ST_MakeValid.
>
> I'm assuming that ST_MakeValid tries to not lose vertices and
> ST_CleanGeometry will try to make a geometry valid at all costs is that
> right?
Nope.
ST_CleanGeometry is currently just a wrapper around ST_MakeValid
returning NULL if the output is of a different type than
the input (ie: it nulls invalid cleaning attempts)
I've to admit I don't like such semantic much...
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the postgis-devel
mailing list