export polygons to latitude and longitude
Is there a way to export polygon elements to a text file in which for each one we get all the vertices that form it, in latitude and longitude coordinates?
Mapping Center Answer:
Sort of. There are a couple of things I can think of:
1. Use the Feature Vertices to Points tool, which will create a feature for each point and will have an attribute for the original feature's FID. This is the easiest output of this variety to work with.
2. In ArcCatalog, right-click on the feature class and choose Export to XML RecordSet Document. Then Choose the Data option and the Normalized option. That will create an ASCII text document. However the structure of the data will not be tabular and would require some intermediate level programming to parse and make use of.
And just to cover the bases, the Calculate geometry tool will not do what you're asking.
Last, You could write a Python script to do this; the shape object comes back as a list that can be written to a file using the standard I/O from Python--that's not exactly a beginner task, but it's not far beyond that.
If you would like to post a comment, please login.