I have a text file containing the projected coordinates of the points that define a single polygon. The X, Y coordinates are separated by Tab
Is there a tool in ArcGIS similar to "Add X,Y Data" in ArcMap, that can be used to automatically create polygons FC, not point FC?
I use ArcGIS 10.1 for Desktop.
Answer
There isn't any tool to do this in 1 single step, you should either:
- convert your text file to points
- convert points to lines with Points to Line
- convert lines to polygons with Feature to Polygon (Advanced licnese required)
Or:
Use arcpy :) - no specific license required.
See an example at the bottom of the page Writing geometries. The code converts a list of coordinates (a text file can be regarded as such a list) into polylines, you can easily modify it to create polygons.
No comments:
Post a Comment