Opened 13 years ago

Closed 13 years ago

#669 closed defect (wontfix)

ST_Intersects(geometry, empty) not returning false

Reported by: wiki Owned by: pramsey
Priority: medium Milestone: PostGIS 1.5.3
Component: postgis Version: 1.5.X
Keywords: ST_Intersects EMPTY Cc:

Description

The wiki http://trac.osgeo.org/postgis/wiki/DevWikiEmptyGeometry states that ST_Intersects(geometry, empty) should return false, but it results in an error:

ERROR: Relate Operation called with a LWGEOMCOLLECTION type. This is unsupported. HINT: Change argument 2: 'GEOMETRYCOLLECTION EMPTY'

select * from some_table where "intersects"("geometry"('POINT(40.0 10.0)'), tablerow_area);

will not work if any tablerow_area is "geometry"('POLYGON EMPTY').

Change History (1)

comment:1 by pramsey, 13 years ago

Resolution: wontfix
Status: newclosed

This won't be changing in 1.5, as that would be a behavior change. The new behavior is reflected in trunk which will be PostGIS 2.0.

Note: See TracTickets for help on using tickets.