[geos-devel] CascadedPolygonUnion XML testing

strk strk at keybit.net
Sun Jun 27 17:16:36 EDT 2010


On Sun, Jun 27, 2010 at 11:14:22PM +0200, strk wrote:
> On Sun, Jun 27, 2010 at 10:57:37PM +0200, G. Allegri wrote:
> > Are you sure it works?
> > select st_union(st_astext(the_geom)) from selezione_exp1_red2 (one of
> > your reductions) doesn't give any output...
> 
> Doesn't _always_ work, did for another_dump2:

For the record, using SnapToGrid gives you more control over the 
roundup. 1e-6 "gridding" works in the exp1_red2 case too:

# select st_isvalid(st_union(snaptogrid(the_geom, 0.0000001))) from selezione_exp1_red2;
 st_isvalid
------------
 t
(1 row)

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


More information about the geos-devel mailing list