[postgis-users] ST_Union (8.4) and TopologyException
simon at spatialdbadvisor.com
Wed Aug 5 00:00:06 PDT 2009
> I've found that such errors in the past are usually related to the
> precision of the coordinates. Try putting your geometries through
> ST_SnapToGrid(), snapping them to some reasonable grid. Ensure they are
> still valid and try ST_Union again.
I already put them data through FME Workbench's CoordinateRounder and Snapper functions
(and validate via FME's GeometryValidator function). So, the data goes in to PostGIS snapped
and clean (isvalid etc all report everything OK in PostGIS).
> In any case, TopologyExceptions are getting fewer and farther between as
> the JTS and GEOS codebases are continually enhanced and improved upon.
> Can you provide a concrete example?
I'll see what I can do to isolate the offending polygons.
SpatialDB Advice and Design, Solutions Architecture and Programming,
Oracle Database 10g Administrator Certified Associate; Oracle Database 10g SQL Certified Professional
Oracle Spatial, SQL Server, PostGIS, MySQL, ArcSDE, Manifold GIS, FME, Radius Topology and Studio Specialist.
39 Cliff View Drive, Allens Rivulet, 7150, Tasmania, Australia.
Email: simon at spatialdbadvisor.com
Voice: +61 362 396397
Mobile: +61 418 396391
Longitude: 147.20515 (147° 12' 18" E)
Latitude: -43.01530 (43° 00' 55" S)
More information about the postgis-users