I'd like to extract the total number of vertices in a shapefile using command-line OGR.
This answer suggests a method for intersections, but it isn't clear how to cross-apply it.
Many other methods suggest writing little Python scripts, but this seems like a needlessly complex solution.
Best Answer
To extract the total number of vertices in a shapefile, I'd simply use a bit of Spatialite SQL:
Example of output: