Ticket #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
Note: See
TracTickets for help on using
tickets.
