[postgis-tickets] [PostGIS] #2825: ST_Intersection broken with Z coordinates
PostGIS
trac at osgeo.org
Mon Jul 7 12:27:04 PDT 2014
#2825: ST_Intersection broken with Z coordinates
----------------------+-----------------------------------------------------
Reporter: TBL | Owner: pramsey
Type: defect | Status: reopened
Priority: medium | Milestone: PostGIS 2.1.4
Component: postgis | Version: 2.1.x
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment(by TBL):
And BTW, the following example has no common 2d points and the output is
still wrong...:
{{{
with linestring as (
select st_collect(
st_geomfromtext('LINESTRING Z (-1 -1 0,-0.5 -0.5 1,0 0 2,0.5 0.5 3,1 1
4,1.5 1.5 5)', 4326),
st_geomfromtext('LINESTRING Z (2.01 2.01 6,1.51 1.51 7,1.01 1.01
8,0.51 0.51 9,0.01 0.01 10)', 4326)
) as geom
),
polygon as (select ST_GeomFromText('POLYGON((0 0, 0 1, 1 1, 1 0, 0 0))',
4326) as geom)
select st_astext(st_intersection(linestring.geom, polygon.geom)) from
linestring, polygon
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2825#comment:9>
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