Sunday, 20 September 2015

arcgis desktop - Dissolving in ArcMap gives "Invalid Topology [Duplicate Segment.]"


I am attempting to use the dissolve tool on a shapefile, but it fails with the error:


ERROR 999999: Error executing function.
Invalid Topology [Duplicate segment.]


I tried checking and repairing geometry until no more geometry errors exist. I also tried the fix topology error tool, but the topology edit tool says that no topology exists. Any ideas why this might be happening?




Answer



One possible solution is running Find Identical, since the error specifies "Duplicate Segment" -- Repair Geometry doesn't look for identical features, just for invalid geometries.


Sometimes ArcMap just doesn't like shapefiles as well as feature classes in a geodatabase, so converting to a GDB and then trying again is another possible solution.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...