[postgis-users] Detecting wrong geometries
Andrea Peri
aperi2007 at gmail.com
Thu Aug 12 10:41:27 PDT 2010
2010/8/12 Brent Wood <pcreso at yahoo.com>
> Hi Andrea,
>
> What do you mean by a "wrong" geometry? One that failed to load?
>
> Did you use the postgis function ST_isvalid() function to test?
>
> Brent Wood
>
Yes,
After load in postgres
I try a
select count(*) from table where ST_IsValid(geom)=false;
and have a result of 1 only invalid geometry.
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100812/6d526223/attachment.html>
More information about the postgis-users
mailing list