[PostGIS] #5672: Function ST_3DIntersects does not work for MULTILINESTRING and LINESTRING.

PostGIS trac at osgeo.org
Tue Mar 26 13:59:43 PDT 2024


#5672: Function ST_3DIntersects does not work for MULTILINESTRING and LINESTRING.
----------------------+---------------------
  Reporter:  Wenjing  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:
 Component:  postgis  |    Version:  3.4.x
Resolution:           |   Keywords:
----------------------+---------------------
Comment (by robe):

 @Wenjing  try to upgrade to the latest
 for

 {{{
 POSTGIS="3.5.0dev 3.4.0rc1-1071-gff91a5acd" [EXTENSION] PGSQL="160"
 GEOS="3.13.0dev-CAPI-1.18.0" PROJ="9.3.1 NETWORK_ENABLED=OFF
 URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj
 DATABASE_PATH=/usr/share/proj/proj.db" GDAL="GDAL 3.8.1, released
 2023/11/28" LIBXML="2.9.14" LIBJSON="0.17" LIBPROTOBUF="1.4.1"
 WAGYU="0.5.0 (Internal)" TOPOLOGY RASTER
 }}}



 {{{
 SELECT ST_3DIntersects(b1, b2)
     FROM ST_GeomFromText('LINESTRING Z (1 0 0, 0 0 0)')
     As b1,
     ST_GeomFromText('LINESTRING Z (1 0 0, 0 0 0)')
     As b2;

 st_3dintersects
 -----------------
  t
 (1 row)
 }}}

 Same for:


 {{{
 SELECT ST_3DIntersects(b2, b1)
     FROM ST_GeomFromText('LINESTRING Z (1 0 0, 0 0 0)')
     As b1,
     ST_GeomFromText('LINESTRING Z (1 0 0, 0 0 0)')
     As b2;

 }}}

 So I think this issue might already be fixed
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5672#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