Hello all,
I try to get polygon vertices in a python script. I already used v.out.ascii in point mode to get points coords with cat but the wkt mode to get vertices is without cat.
Witch way could be the best to do so ?
Thank you.
Frank
Hello all,
I try to get polygon vertices in a python script. I already used v.out.ascii in point mode to get points coords with cat but the wkt mode to get vertices is without cat.
Witch way could be the best to do so ?
Thank you.
Frank
Not sure if that answers your question, but you could run v.to.points to convert vertices to points first and then use v.out.ascii.
Anna
v.to.points seems to return centroïd only …
Even with type=area use=vertex
?
Ha yes ! with v.out.ascii layer=2 columns=lcat format=point
I did not see that. Thank you Anna