[geos-devel] CascadedPolygonUnion XML testing

strk strk at keybit.net
Sun Jun 27 17:14:22 EDT 2010


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:

strk=# select st_isvalid(st_union(g)) from another_dump2;
ERROR:  GEOSUnionCascaded: TopologyException: found non-noded intersection between LINESTRING (184.319 2038.88, 186.647 2046.15) and LINESTRING (186.647 2046.15, 186.647 2046.15) at 186.647 2046.15
strk=# select st_isvalid(st_union(st_astext(g))) from another_dump2;
 st_isvalid
------------
 t
(1 row)



> Anyway, do you suggest using wkb?

Yes. HEXEWKB (the canonical output) is handled by JTS just fine.

--strk;

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


More information about the geos-devel mailing list