This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def export_fc_to_csv(fc, out_csv): | |
""" | |
Export each vertex in a line or poly fc to a csv with OID | |
user requested at http://arcpy.wordpress.com/about/#comment-348 | |
example | |
import geom_snippets | |
geom_snippets.export_fc_to_csv(r"c:\proj\fc1.shp", r"c:\proj\fc1.csv") |