[postgis-devel] polygonize_garray build invalid geometries

Carl Anderson carl.anderson at vadose.org
Sun Jan 2 09:01:35 PST 2005


against CVS Postigs and CVS GEOS

polygonize_garray in instances returns invalid geometries

test cases avail at 
http://wms.co.fulton.ga.us/data/postgis/polygonize_error.sql.gz
(sorry, it was too big for the list)

run the script to build object  then

select isvalid(the_geom) from polygonize_error;

select
   isvalid(polygonize_garray(array_append('{}',
           intersection(boundary(the_geom),boundary(the_geom))
        )))
   from polygonize_error;

intersection(boundary(),boundary())  -- converts all rings into simple 
linestrings (actually OGC line geometries  SFSSQL 2.1.6)



More information about the postgis-devel mailing list