I've a set of street data from OSM loaded into a QGIS layer. A lot of the street names have multiple features (where OSM shows a road in a number of line segments).
I then use Geoprocessing Tools, Dissolve using name of feature and end up with each street having a unique name. Each street name is now a single feature.
I now want to run the GDAL Points along lines to find the mid point of each street (and with the mid point lying on the street - as opposed to what you would get with Analysis Tools, Mean coordinates tool).
The GDAL Points along lines process fails (with a message saying look at the log, but I can't find any meaningful messages in the log). I suspect that it is failing because a few of the street features are not connected lines - but are multiple lines that are not connected. The most obvious case is where the many features are un-named are joined together, but there are a small number of other features contain more than one line that is not connected. I can see several, but there are some I can't find.
Is there any way of finding the number of separated multiple lines per feature? If there was, then I could exclude these features from the Points along lines and I suspect it would then work.
Fairly new to QGIS, and part of my problem in searching for a solution is understanding what the right terminology would be.
The log in the Points Along Lines is on Dropbox here
The following layers were not correctly generated.
You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.
- /Users/david/Dropbox/@Islington/Mapping/OSM Clerkenwell Highway Points Dissolved.shp
The main log only has
2020-06-29T17:22:51 INFO ogr2ogr "/Users/david/Dropbox/@Islington/Mapping/OSM Clerkenwell Highway Points Dissolved.shp" "/Users/david/Dropbox/@Islington/Mapping/OSM Clerkenwell Highways Dissolved.shp" -dialect sqlite -sql "SELECT ST_Line_Interpolate_Point(geometry, 0.5) AS geometry,* FROM 'OSM Clerkenwell Highways Dissolved'" -f "ESRI Shapefile" 2020-06-29T17:22:51 INFO GDAL execution console output
Thanks for any help you can provide.