[postgis-devel] [PostGIS] #1776: ST_SymDifference involging EMPTY not symmetric
PostGIS
trac at osgeo.org
Fri Apr 13 12:32:48 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: |
---------------------+------------------------------------------------------
{{{
strk=# SELECT ST_AsText(ST_SymDifference('POLYGON((0 0, 10 0, 10 10, 0
0))', 'POLYGON EMPTY'));
st_astext
-------------------------------
POLYGON((0 0,10 0,10 10,0 0))
(1 row)
strk=# SELECT ST_AsText(ST_SymDifference('POLYGON EMPTY', 'POLYGON((0 0,
10 0, 10 10, 0 0))'));
st_astext
---------------
POLYGON EMPTY
(1 row)
}}}
I belive the first answer is correct and the second should be equal to the
first one
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1776>
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