[postgis-users] Topology Postgis 2.0

ps.tiara ps.tiara at yahoo.com
Thu Oct 4 07:11:47 PDT 2012


Hi, it's me again..

I have installed Postgis 2.0.1 and the function of toTopoGeom has worked...

I used toTopogeom for multilinestring (2d & 3d)  geometry and it worked..
It also worked for  polygon 3d geometry...but it didn't work for
multipolygon 3d..
Here is the message error :

update public.phtomulti_srid
set topo = topology.toTopoGeom(geom,'phtomulti_topo',1,0.0000001)
where id='1';

ERROR:  Column has Z dimension but geometry does not
CONTEXT:  SQL statement "INSERT INTO phtomulti_topo.node(node_id, geom) 
    VALUES(26,'0101000020E61000000000000000000000000000000000F03F')"
PL/pgSQL function "st_modedgesplit" line 81 at EXECUTE statement
PL/pgSQL function "topogeo_addpoint" line 91 at assignment
PL/pgSQL function "topogeo_addlinestring" line 140 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
PL/pgSQL function "totopogeom" line 100 at FOR over SELECT rows

It didn't work with any tolerance...
Is this the limitation of topology Postgis 2.0.1? 

Thank you...



--
View this message in context: http://postgis.17.n6.nabble.com/Topology-Postgis-2-0-tp5000006p5000216.html
Sent from the PostGIS - User mailing list archive at Nabble.com.



More information about the postgis-users mailing list