[geos-devel] GeomUnion Bug?

Charlie Savage cfis at savagexi.com
Fri Sep 7 11:57:59 EDT 2007


Hi Martin,

> Both polygons are invalid.  The first is degenerate (a point, which 
> obviously self-intersects.  The second has a non-closed ring.

Yeah, Carl pointed that out a bit earlier.  I get those issues because 
I'm doing something like this:

select astext(geomunion(envelope(GeomFromText('POINT(-104 40)')),
                         envelope(GeomFromText('POINT(-105 40)'))))

Should envelope be returning me an invalid geometry?

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/20070907/c4858841/smime.bin


More information about the geos-devel mailing list