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

PostGIS trac at osgeo.org
Tue Feb 20 23:43:40 PST 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
 Keywords:           |
---------------------+---------------------
 For the following query:

 {{{

 SELECT ST_3DIntersects(b1, b2)
     FROM ST_GeomFromText('MULTILINESTRING Z ((1 0 0, 0 0 0))')
     As b1,
     ST_GeomFromText('LINESTRING Z (1 0 0, 0 0 0)')
     As b2;
 -- actual{f}; expected{t}

 }}}

 Geometry b1 and b2 have the intersection of all points on the line
 `LINESTRING Z (1 0 0, 0 0 0)`, but Postgis doesn't consider they intersect
 each other.

 version:

 {{{
 POSTGIS="3.5.0dev 3.4.0rc1-705-g5c3ec8392" [EXTENSION] PGSQL="170"
 GEOS="3.13.0dev-CAPI-1.18.0" PROJ="8.2.1 NETWORK_ENABLED=OFF
 URL_ENDPOINT=https://cdn.proj.org/
 USER_WRITABLE_DIRECTORY=/tmp/proj DATABASE_PATH=/usr/share/proj/proj.db"
 LIBXML="2.9.13" PostgreSQL 17devel on x86_64-pc-linux-gnu, compiled by gcc
 (Ubuntu 11.4.0-
 1ubuntu1~22.04) 11.4.0, 64-bit
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5672>
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