totopogeom - can't add multipolygon
|Reported by:||robe||Owned by:||strk|
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.
Change History (14)
comment:9 by , 10 years ago
|Summary:||totopogeom - can't add multipolygo → totopogeom - can't add multipolygon|