[postgis-devel] [PostGIS] #1776: ST_SymDifference involging EMPTY not symmetric
PostGIS
trac at osgeo.org
Fri Apr 13 13:54:16 PDT 2012
#1776: ST_SymDifference involging EMPTY not symmetric
---------------------+------------------------------------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.1
Component: postgis | Version: 2.0.x
Keywords: |
---------------------+------------------------------------------------------
Comment(by strk):
The code shows this as being intentional:
{{{
/* A.SymDifference(Empty) == A */
if ( lwgeom_is_empty(geom2) )
return lwgeom_clone(geom1);
/* Empty.DymDifference(B) == Empty */
if ( lwgeom_is_empty(geom1) )
return lwgeom_clone(geom1);
}}}
What's the rationale for the second ??? I think it's just plain wrong !
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1776#comment:2>
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-devel
mailing list