[postgis-users] good way to collect

Purvis, Charlton cpurvis at asg.sc.edu
Thu May 19 07:28:25 PDT 2005


> > psql:q.sql:7: NOTICE:  TopologyException: side location conflict
> > (-80.8945,32.0422)
> > psql:q.sql:7: ERROR:  GEOS contains() threw an error!

Thought I'd share w/ the group a solution.  Turns out that doing a collect()
on some geoms produces an invalid geom..  So when I was going a contains()
on a bad geom row, it would throw the above error.

Doing a GeomUnion() instead of contains() in step #1 made everything golden.

Charlton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20050519/26960596/attachment.html>


More information about the postgis-users mailing list