[postgis-tickets] [PostGIS] #4856: ST_Intersection error
PostGIS
trac at osgeo.org
Thu Feb 18 09:38:28 PST 2021
#4856: ST_Intersection error
----------------------+---------------------------
Reporter: ezimanyi | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.5.6
Component: postgis | Version: 2.5.x
Keywords: |
----------------------+---------------------------
I obtained the following error when I apply twice the ST_Intersection
function
{{{
select st_astext(st_intersection(geometry 'Linestring(1 1,3 3.5,3 3)',
geometry 'Polygon((0 0,0 3,3 3,3 0,0 0))'));
-- GEOMETRYCOLLECTION(POINT(3 3),LINESTRING(1 1,2.6 3))
select st_astext(st_intersection(geometry 'Linestring(1 1,3 3.5,3 3)',
geometry 'GEOMETRYCOLLECTION(POINT(3 3),LINESTRING(1 1,2.6 3))'));
-- MULTIPOINT(1 1,3 3)
select postgis_full_version();
POSTGIS="3.0.3 6660953" [EXTENSION] PGSQL="130" GEOS="3.9.1dev-
CAPI-1.14.1" PROJ="7.0.0" LIBXML="2.9.4" LIBJSON="0.12.1"
}}}
The result above `MULTIPOINT(1 1,3 3)` is an error. I have tested also
with 2.5.5 and GEOS 3.8 and the result is the same.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4856>
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