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

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


On Tue, Jan 22, 2013 at 01:55:50PM -0500, John Morrison wrote:
> Hi Sandro;
> 
> If you add the second line below sandwiched between the two lines you were
> kind enough to send me, I again see the error...  AFAICT it only complains
> when actually inserting nodes that have z...
> 
> select topology.createTopology('topo3d', 0, 0, true);
> select st_addisonode('topo3d', NULL, ST_GeomFromText('POINT(1 2 3)'));
> select topology.copyTopology('topo3d', 'topo3d-bis');

A-ha, bingo.

ERROR:  Geometry has Z dimension but column does not

Can you please file a ticket for this ?
I won't be looking at it any soon so if you want to try a patch
you're welcome.

--strk;


More information about the postgis-users mailing list