[geos-devel] GeomUnion Bug?

Martin Davis mbdavis at refractions.net
Fri Sep 7 12:52:12 EDT 2007


Charlie,

see my reply on the PostGIS list.

Charlie Savage wrote:
> 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
> ------------------------------------------------------------------------
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
>   

-- 
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022




More information about the geos-devel mailing list