[geos-devel] GeomUnion Bug?

Charlie Savage cfis at savagexi.com
Fri Sep 7 01:28:57 EDT 2007


This makes sense to me:

SELECT astext(GeomUnion(GeomFromText('POINT(-104 40)'),
  	                GeomFromText('POINT(-105 40)')))

"MULTIPOINT(-105 40,-104 40)"



But this not so much:

SELECT astext(GeomUnion(GeomFromText('POLYGON((-104 40,-104 40,-104 

                                                  40,-104 40,-104 40))'),
                         GeomFromText('POLYGON((-105 40,-105 40,-105
                                                  40,-105 40,-105 0))')))

"GEOMETRYCOLLECTION EMPTY"

Is this a bug?  Or is it supposed work this way?  It used to be 
different with Geos 2.2.1 (I assume this is a geos issue so I included 
that mailing list).

Charlie



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/geos-devel/attachments/20070906/66d8700e/smime.bin


More information about the geos-devel mailing list