Skip to main content
Question

Repair Geometry with ArcGIS Repair Geometry tool

  • January 16, 2025
  • 3 replies
  • 81 views

matt.albritton
Participant
Forum|alt.badge.img+6

How can I use the Python caller transformer to call Arcpy and run the ArcGIS Repair Geometry tool? I have polygons from a file geodatabase that I'm importing into our Postgres SDE. After loading them, many of the records won't display due to geometry violations. I tried using the FME Geometry Validator transformer in my workspace, but it didn't seem to resolve the issue. 

Alternatively, is there a way to configure the Geometry Validator (or combine it with other transformers) to repair the data?

3 replies

becchr
Influencer
Forum|alt.badge.img+25
  • Influencer
  • January 16, 2025

this might get you started for using arcpy?

https://support.safe.com/hc/en-us/articles/25407493532429-Using-Arcpy-for-FME-Feature-Processing

 

for repairing geometries in FME, many possibilities, but we should get more info I guess, any sample data/workspace you could share, or more details on the errors/violations you are talking about?


hkingsbury
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • January 17, 2025

As ​@becchr suggested, you can do geometry repairs in FME. Have a look at the GeometryValidator and its ability to repair geometry - https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/geometryvalidator.htm


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • January 17, 2025
becchr wrote:

this might get you started for using arcpy?

https://support.safe.com/hc/en-us/articles/25407493532429-Using-Arcpy-for-FME-Feature-Processing

 

for repairing geometries in FME, many possibilities, but we should get more info I guess, any sample data/workspace you could share, or more details on the errors/violations you are talking about?

Great.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings