Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#4176 closed defect (fixed)

ST_Intersects error with GEOMETRYCOLLECTION

Reported by: vitaly1m Owned by: komzpa
Priority: medium Milestone: PostGIS 2.4.5
Component: postgis Version: 2.3.x
Keywords: Cc:

Description

Hi! When executing query:

select ST_Intersects('POLYGON((0 0, 10 10, 3 5, 0 0))', 'GEOMETRYCOLLECTION(POINT(10 10), LINESTRING(0 0, 3 3))');

Getting error: SQL Error [XX000]: ERROR: Relate Operation called with a LWGEOMCOLLECTION type. This is unsupported.Подсказка: Change argument 2: 'GEOMETRYCOLLECTION(POINT(10 10),LINESTRING(0 0,3 3))' Где: SQL function "st_intersects" statement 1

Thank you

Change History (4)

comment:1 by komzpa, 6 years ago

Owner: changed from pramsey to komzpa

comment:3 by komzpa, 6 years ago

Resolution: fixed
Status: newclosed

In 16773:

ST_Interscts support GEOMETRYCOLLECTION

By some overlook ST_Intersects has a guard against GEOMETRYCOLLECTION, while GEOS can handle it.

Closes #4176
Closes https://github.com/postgis/postgis/pull/297

comment:4 by komzpa, 6 years ago

In 16775:

ST_Intersеcts support GEOMETRYCOLLECTION

By some overlook ST_Intersects has a guard against GEOMETRYCOLLECTION, while GEOS can handle it.

Closes #4176
Closes https://github.com/postgis/postgis/pull/297

Note: See TracTickets for help on using tickets.