Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 765 Bytes

8.md

File metadata and controls

15 lines (14 loc) · 765 Bytes

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