[postgis-users] GEOS pointonsurface() threw an error!

Paragon Corporation lr at pcorp.us
Tue Aug 17 21:38:10 PDT 2010


Ricardo,
If you are looking in PgAdmin III, it won't show the geometry if it is too
big.
 
You should verify that your multipolygon is valid.  Many of the GEOS
functions won't work with invalid polygons.
 
SELECT ST_IsValid(yourgeometryhere)
 
Also let us know which version of GEOS you are using
 
SELECT postgis_full_version();
 
Lots of topology exception issues have been fixed in newer versions of GEOS
so upgrading might fix your problem if you are running a GEOS version older
than 3.2
 
Hope that helps,
Regina and Leo
http://www.postgis.us

  _____  

From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Ricardo
Bayley
Sent: Wednesday, August 18, 2010 12:06 AM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] GEOS pointonsurface() threw an error!


Hi, 

I am calculation the PointOnSurface for a table of polygons. I get this
error message


NOTICE:  TopologyException: found non-noded intersection between LINESTRING
(857703 1.04022e+006, 857648 1.04019e+006) and LINESTRING (857536
1.04019e+006, 857870 1.04019e+006) at 857648 1.04019e+006


ERROR:  GEOS pointonsurface() threw an error!

********** Error **********

ERROR: GEOS pointonsurface() threw an error!
Estado SQL:XX000

I checked the one of the rows that is getting this error with
ST_GeometryType and I get "ST_Multipolygon", although I dont get the
ST_AsText, or any output type.
Any ideas why ? 


regards


Ricardo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100818/37fed87f/attachment.html>


More information about the postgis-users mailing list