[postgis-devel] topology expectations?

pcreso at pcreso.com pcreso at pcreso.com
Tue Mar 20 17:40:51 PDT 2012


I would expect that NOT to happen. Postgis functions should be consistent when determining whether such an overlap exists.

Have you identified the circumstances where this occurs? 

Brent

--- On Wed, 3/21/12, Paul Ramsey <pramsey at cleverelephant.ca> wrote:

From: Paul Ramsey <pramsey at cleverelephant.ca>
Subject: [postgis-devel] topology expectations?
To: "PostGIS Development Discussion" <postgis-devel at postgis.refractions.net>
Date: Wednesday, March 21, 2012, 11:55 AM

How much should I expect from topology? I just took a polygon file
that had contiguous non-overlapping polygons and did this:

cded=# select TopoGeo_AddPolygon('sheds', st_geometryn(geom,1), 5.0)
from sheds where gis_tag like 'VICT%';

ERROR:  Spatial exception - geometry intersects edge 39
CONTEXT:  PL/pgSQL function "topogeo_addlinestring" line 175 at assignment
SQL statement "SELECT array_cat(edges, array_agg(x)) FROM ( select
topology.TopoGeo_addLinestring(atopology, rec.geom, tol) as x ) as
foo"
PL/pgSQL function "topogeo_addpolygon" line 27 at assignment

This is a non-overlapping set of data, originally generated from
vector clean ArcINFO coverages...

select a.gis_tag, b.gis_tag from sheds a, sheds b where
st_overlaps(a.geom,b.geom) and a.gis_tag like 'VICT%' and b.gis_tag
like 'VICT%';

(0 rows)

Thoughts?

P.
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20120320/de05995e/attachment.html>


More information about the postgis-devel mailing list