Hi;<br><br>Tried to copy a topology created with hasz=true via CreateTopology.<br><br>The error I got (in pgsql) was:<br><br><b>temp01=# SELECT topology.CopyTopology('ma_topo', 'ma_topo_copy');<br>ERROR:  Geometry has Z dimension but column does not<br>
CONTEXT:  SQL statement "INSERT INTO ma_topo_copy.node SELECT * FROM ma_topo.node"<br>PL/pgSQL function "copytopology" line 30 at EXECUTE statement<br>temp01=# <br></b><br>Cursory inspection of CopyTopology indicates new topology is created at line 2151 without the fourth "hasz" argument value, which should presumably be taken from the old topology.<br>
<br>Version of topology.sql is the following:<br><br><b>-- $Id: topology.sql.in.c 10644 2012-11-05 10:27:08Z strk $</b><br><br>fetched via svn from <a href="http://svn.osgeo.org">svn.osgeo.org</a> (notably NOT via git from github, whose topology.sql's relevant line looks the same):<br>
<br><b>[jm@jm7 postgis-svn]$ svn info<br>Path: .<br>Working Copy Root Path: /usr/local/src/PostGIS/postgis-svn<br>URL: <a href="http://svn.osgeo.org/postgis/trunk">http://svn.osgeo.org/postgis/trunk</a><br>Repository Root: <a href="http://svn.osgeo.org/postgis">http://svn.osgeo.org/postgis</a><br>
Repository UUID: b70326c6-7e19-0410-871a-916f4a2858ee<br>Revision: 10775<br>Node Kind: directory<br>Schedule: normal<br>Last Changed Author: robe<br>Last Changed Rev: 10775<br>Last Changed Date: 2012-12-01 03:34:41 -0500 (Sat, 01 Dec 2012)<br>
<br>[jm@jm7 postgis-svn]$ </b><br><br>Platform is FC17, PostGreSQL is postgresql-9.1.7-1.fc17.x86_64 (stock FC17 with updates)<br><br>Please advise if this is either a bug or Pilot Error.<br><br>-jm<br><br><br><br>