[postgis-tickets] [PostGIS] #2184: CopyTopology cannot copy topology which hasz
PostGIS
trac at osgeo.org
Tue Jan 22 12:19:30 PST 2013
#2184: CopyTopology cannot copy topology which hasz
-----------------------+----------------------------------------------------
Reporter: jmorrison | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.0
Component: topology | Version: trunk
Keywords: |
-----------------------+----------------------------------------------------
The following small test case:
{{{
select topology.createTopology('topo3d', 0, 0, true);
select st_addisonode('topo3d', NULL, ST_GeomFromText('POINT(1 2 3)'));
select topology.copyTopology('topo3d', 'topo3d-bis');
}}}
yields error:
{{{
ERROR: Geometry has Z dimension but column does not
}}}
Looks like CopyTopology creates new topology without "hasz" arg, which
presumably should mirror the old topology's hasz.
postgis_full_version() is:
{{{
POSTGIS="2.1.0SVN r10775" GEOS="3.4.0dev-CAPI-1.8.0 r3737" PROJ="Rel.
4.7.1, 23 September 2009" GDAL="GDAL 1.10dev, released 2011/12/29"
LIBXML="2.7.8" TOPOLOGY RASTER
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2184>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list