<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16625"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial>Ricardo,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial>If you are looking in PgAdmin III, it won't show the geometry 
if it is too big.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial>You should verify that your multipolygon is valid.  Many 
of the GEOS functions won't work with invalid polygons.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial>SELECT ST_IsValid(yourgeometryhere)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial>Also let us know which version of GEOS you are 
using</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial>SELECT postgis_full_version();</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial>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</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial>Hope that helps,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial>Regina and Leo</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=509143404-18082010><FONT color=#0000ff 
size=2 face=Arial><A 
href="http://www.postgis.us">http://www.postgis.us</A></FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> 
postgis-users-bounces@postgis.refractions.net 
[mailto:postgis-users-bounces@postgis.refractions.net] <B>On Behalf Of 
</B>Ricardo Bayley<BR><B>Sent:</B> Wednesday, August 18, 2010 12:06 
AM<BR><B>To:</B> postgis-users@postgis.refractions.net<BR><B>Subject:</B> 
[postgis-users] GEOS pointonsurface() threw an error!<BR></FONT><BR></DIV>
<DIV></DIV>Hi,
<DIV><BR></DIV>
<DIV>I am calculation the PointOnSurface for a table of polygons. I get this 
error message</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>
<DIV>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</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>ERROR:  GEOS pointonsurface() threw an error!</DIV>
<DIV><BR></DIV>
<DIV>********** Error **********</DIV>
<DIV><BR></DIV>
<DIV>ERROR: GEOS pointonsurface() threw an error!</DIV>
<DIV>Estado SQL:XX000</DIV></DIV>
<DIV><BR></DIV>
<DIV>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.</DIV>
<DIV>Any ideas why ? </DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>regards</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Ricardo</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV></BODY></HTML>