[postgis-devel] [PostGIS] #1706: TopoGeo_AddPolygon not adding polygons
PostGIS
trac at osgeo.org
Thu Mar 22 10:00:53 PDT 2012
#1706: TopoGeo_AddPolygon not adding polygons
----------------------+-----------------------------------------------------
Reporter: pramsey | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: topology | Version: trunk
Keywords: |
----------------------+-----------------------------------------------------
{{{
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%';
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1706>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list