I’m getting quite desperate about a problem I still can’t solve.
The input format is shape which contains areas.
We use FME desktop (2013 SP1) to correct a great number of these geometries. The workbench contains AreaOnAreaOverlayers / Dissolvers etc. At the end we check the geometries with the GeometryValidator where we test all issues. 4 geometries are repaired.
The output is shape again. Until here everything is fine.
After this we use SPIT to load the shapes in PostGIS. Running isValid in PostGIS returns a lot of errors. Self intersections.
Our workaround is to repair geometry in ArcGIS which solves the self intersections. (a lot of them!)
Then we load the shape again in FME, run the feautures through the GeometryValidator with all checks. 16 geometries are getting repaired.
Now we can successfully load the shapes in PostGIS. The isValid function returns nothing now.
I would love to skip the repair geometry cycle in ArcGIS.
My latest guess is it should have to do something with the precision of shape vs the precision of FFS & precision of PostGIS. Using the attributerounder (x, y, z parameter = 4) before testing the GeometryValidator didn’t solve the problem.
Pretty stuck now, any suggestions?