[postgis-users] Topology Postgis 2.0

Sandro Santilli strk at keybit.net
Thu Oct 4 07:39:49 PDT 2012


On Thu, Oct 04, 2012 at 07:11:47AM -0700, ps.tiara wrote:
> 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')"

Could you please send a self-contained script showing the problem ?
It should include the CreateTopology call and the literal value of
the geometry where id = 1.

--strk; 

 http://www.cartodb.com - Map, analyze and build applications with your data

                                       ~~ http://strk.keybit.net 




More information about the postgis-users mailing list