[postgis-devel] [PostGIS] #1198: ST_Union fails on some sets of polygons. Snapping works around the problem
PostGIS
trac at osgeo.org
Sat Sep 17 12:31:23 PDT 2011
#1198: ST_Union fails on some sets of polygons. Snapping works around the problem
-----------------------------------------------------------+----------------
Reporter: dmiranda | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: st_union topologyexception noded intersection |
-----------------------------------------------------------+----------------
Comment(by jgrocha):
The same dataset, imported in PostGIS 1.5 runs fine.
PostGIS version used:
"1.5 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"
Commands used:
psql geotuga < st_union_topology_exception.sql
select gid from st_union_topology_exception where not st_isvalid(geom);
No invalid geometries were found
psql geotuga -c "select st_astext(st_envelope(st_union(geom))) from
st_union_topology_exception;"
POLYGON((-55.3756654961996 -28.9576596206607,-55.3756654961996
-27.1734940596501,-53.0671265720575 -27.1734940596501,-53.0671265720575
-28.9576596206607,-55.3756654961996 -28.9576596206607))
select st_extent(geom) from st_union_topology_exception;
"BOX(-55.3756654961996 -28.9576596206607,-53.0671265720575
-27.1734940596501)"
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1198#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list