[postgis-devel] [PostGIS] #2033: 2.5D topology: Column has Z dimension but geometry does not
PostGIS
trac at osgeo.org
Fri Oct 5 10:42:36 PDT 2012
#2033: 2.5D topology: Column has Z dimension but geometry does not
----------------------+-----------------------------------------------------
Reporter: strk | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.2
Component: topology | Version: 2.0.x
Keywords: |
----------------------+-----------------------------------------------------
{{{
-- preparation
select droptopology('t');
select topology.createtopology('t',0,0,true) as topoid;
select topogeo_addpolygon('t', 'POLYGON((0 0 0, 0 1 0, 1 1 0, 1 0 0, 0 0
0))');
-- bug exposure
select topogeo_addlinestring('t', 'LINESTRING(1 1 0,0 1 0,0 1 1,1 1 1,1
1 0)');
}}}
The culprit is ST_ClosestPoint, see ticket #2032
What we could do is re-add the Z to the output of ST_ClosestPoint.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2033>
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-devel
mailing list