[postgis-users] CopyTopology cannot copy a topology that "hasz"

Sandro Santilli strk at keybit.net
Tue Jan 22 10:16:05 PST 2013


On Tue, Jan 22, 2013 at 12:30:42PM -0500, John Morrison wrote:

> Tried to copy a topology created with hasz=true via CreateTopology.

[...]

> *temp01=# SELECT topology.CopyTopology('ma_topo', 'ma_topo_copy');
> ERROR:  Geometry has Z dimension but column does not
> CONTEXT:  SQL statement "INSERT INTO ma_topo_copy.node SELECT * FROM
> ma_topo.node"

[...]

> *-- $Id: topology.sql.in.c 10644 2012-11-05 10:27:08Z strk $*

[...]

> Platform is FC17, PostGreSQL is postgresql-9.1.7-1.fc17.x86_64 (stock FC17
> with updates)

I've the impression this bug was fixed in one of the 2.0.x versions.
Did you properly upgrade ?
Please report output of postgis_full_version();

--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