In QGIS, is there a way to count the number of vertices of polygons and lines in a given layer, and create a separate field containing these values? I suspect it's a function somewhere in the field calculator but I can't find it.
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
It is possible to do this with a little bit of python code. I posted the code and the script to count the vertices and add that info to the attribute table here. |
|||
|
|
Look in the vector menu, there is a "extract nodes" tool. |
|||||||
|
|
if you or anyone are interested with arcmap , this page - HowTo: Count the vertices for line or polygon features in ArcMap - can help you... Procedure
i hope it helps you... |
||||
|