[geos-devel] question about GEOSUnion?

LiN YongHeng bicealyh at gmail.com
Sun Apr 12 21:17:11 EDT 2009


Hello everyone,
I have a question about GEOSUnion().
I give value to g1 and g2 like below:
GEOSGeom g1 = "POLYGON ((1  3, 1  3, 1  6, 1  6, 1 3))"  and GEOSGeom g2 =
"POLYGON ((1  3, 1  3, 1  6, 1  6, 1 3))"  , but if I make union operation
like GEOSGeom g3 =
GEOSUnion(g1, g2), it give me result like "GEOMETRYCOLLECTION EMPTY".
Does anyone can tell me why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20090413/38a437e5/attachment.html


More information about the geos-devel mailing list