Tuesday, 6 August 2019

export - How to identify feature vertices that are part of a donut hole in ArcGIS 10?


I´m exporting the coordinates of polygon vertices to a CSV-File using the "Feature Vertices to Points" and then the "Export feature attributes to ASCII" tools.


Some of these polygons have holes (donuts). Can I do the analysis in a way, that in the resulting CSV-File it´s possible to identify if a point has been part of the outer border or the inner border (donut) of the polygon?



Answer



Here is another option:




  1. Run Feature Vertices to Points tool on polygon layer.

  2. Run Feature Class to Coverage tool on polygon layer.

  3. Run Dissolve tool on the result of step 2

  4. Run Feature Vertices to Points tool on the result of step 3 (gives only outer vertices).

  5. Perform either a Select By Location or Feature Compare tool between step 1 and step 4 point layer to distinguish between inner and outer vertices.


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...