Writing Xy Coordinates To Csv File Using Python
I'm new to python programming and I have a fairly simple project but am having some difficulties. I would like to (a) extract the XY coordinates of the vertices of a shapefile (po
Solution 1:
You have to pass writerow
a list of things, where each element in the list is a separate column in your output:
writer.writerow([vertex.X, vertex.Y])
Post a Comment for "Writing Xy Coordinates To Csv File Using Python"