I have recently installed the new version of QGIS and can't seem to find the vertices counter in the plugin menu to install. Does anyone know where I can find it?

  • 1
    Welcome to GIS:SE @user115775! I don't think that plugin has been ported over to QGIS 3 (in fact the last update was in 2014) :) – Joseph Mar 5 '18 at 12:39
  • Thanks for getting back to me :D Do you know if there is any other way I can count the vertices in my shapefile using QGIS? – Niamh Mar 5 '18 at 14:38
  • You could use the Field Calculator to create a new integer field with the expression num_points( $geometry ). This will give the number of vertices for each feature. You could then use Vector > Analysis Tools > Basic statistics for fields on the new field you created to get the sum of the vertices. – Joseph Mar 5 '18 at 14:46

Since QGIS is using QT 5 and Python 3, many plugins, if not all, need to be updated. You can refer to this article about the changes in PyQGIS API:

QGIS 3 is underway – what does it mean for your plugins and scripts?

The existing plugins will not work properly in QGIS 3.0 due to the changes in the QGIS 3.x API compared with the QGIS 2.x API.

  • Thanks for getting back to me! Do you know if there is any other way I can count the vertices in my shapefile using QGIS – Niamh Mar 5 '18 at 14:39
  • You can use Extract Node tool to convert the vertices to points. You can search for extract node tool in the processing tool bar. Then open the attribute table and you will see the number of points which is actually the vertices. However, if the shapefile is polygon, the output of extract node will contain duplicate vertices as there will be an extra point to close the polygon. Make sure to remove that point. – ahmadhanb Mar 5 '18 at 14:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.