[PostGIS] #5572: ST_Difference drops z-dimension on empty result

PostGIS trac at osgeo.org
Wed Nov 22 13:54:25 PST 2023


#5572: ST_Difference drops z-dimension on empty result
----------------------+---------------------------
  Reporter:  lkajan   |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.3.6
 Component:  postgis  |    Version:  3.4.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by pramsey):

 Hum, this has been fixed at some point, either in PostGIS or GEOS (I'm
 guessing the latter).
 {{{
 # SELECT ST_AsText(ST_Difference('LINESTRINGZ(0 0 0,1 0 0)'::geometry,
 'LINESTRINGZ(0 0 0,1 0 0)'::geometry));
      st_astext
 --------------------
  LINESTRING Z EMPTY
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5572#comment:2>
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