[postgis-devel] [PostGIS] #1714: totopogeom - can't add multipolygo
PostGIS
trac at osgeo.org
Mon Mar 26 05:58:30 PDT 2012
#1714: totopogeom - can't add multipolygo
----------------------+-----------------------------------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.1
Component: topology | Version: trunk
Keywords: |
----------------------+-----------------------------------------------------
strk - not sure what to make of this. In adding my representative
neighborhoods to a blank topology. Many went in fine, but for some, I got
a
{{{
ERROR: SQL/MM Spatial exception - curve not simple
CONTEXT: PL/pgSQL function "topogeo_addlinestring" line 179 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
}}}
Here is my smallest workflow that triggers the error
{{{
SELECT topology.CreateTopology('topo_boston_test', 2249, 0.25);
CREATE TABLE nei_topo(gid serial primary key, nei varchar(30));
SELECT topology.AddTopoGeometryColumn('topo_boston_test', 'public',
'nei_topo', 'topo', 'MULTIPOLYGON') As new_layer_id;
INSERT INTO nei_topo(nei, topo)
SELECT nei, topology.toTopoGeom(geom, 'topo_boston_test', 1,0.0)
FROM nei_test;
}}}
I have attached to sql to build the nei_test table.
This was testing with beta4, geos 3.3.3dev
I tried with latest trunk and get same issue.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1714>
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