Trouble with AsText(ExteriorRing()) Re: [postgis-users] IsSimple terminating connection

Diez B. Roggisch deets at web.de
Sat Nov 26 05:44:53 PST 2005


strk at refractions.net wrote:
> No problems with regress test.
> Can you provide a testcase for me to check at ?
> I would need the smallest possible dataset,
> in this case the Geometry which triggers the
> segfault when feed to the IsSimple() function.
> 
> To find out which one it is I suggest you
> define a cursor for select id,IsSimple(the_geom)
> and fetch. Last seen id+1 will be the faulting
> geometry.
> 
> Once isolated create a table as select id,the_geom
> where id = <found_id> and produce a shapefile from
> it using pgsql2shp. Send the shapefile to me and
> I'll see if I can reproduce it.

Here it comes. Please notice that after upgrading libgeos the probkme is 
_not_ IsSimple anymore, but ExteriorRing (as my changed subject said). 
However, the symptoms are all the same.

Thanks for your support - it is highly appreciated!

Regards,

Diez
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcase.tgz
Type: application/x-gzip
Size: 651 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20051126/576856d1/attachment.bin>


More information about the postgis-users mailing list