Feature request #11515
Use ogr2ogr to create midpoints along lines
|Pull Request or Patch supplied:||No
Following this blog post by Darren Cope, I found it is possible use ogr2ogr to create midpoints along a line using ogr2ogr. For example:
ogr2ogr OutputPoints.shp InputLines.shp -dialect sqlite -sql “SELECT AsText(Line_Interpolate_Point(InputLines.geometry, 0.5)),OTHER,FIELDS,CAN,GO,HERE from InputLines”
It would be a valuable addition to Processing, since there's not equivalent algorithm available
- Assignee changed from Victor Olaya to Giovanni Manghi
Do you actually want new point geometries or is it just necessary for symbology? In the latter case, there is the marker line in QGIS, by which you can position a marker on the mid-point of a line (term is "central point").
In this case, the actual geometries. In ecological surveys, it is quite common to plan surveys along line transects and to collect data in the middle, first or last quarter of the transect. This tool would be useful for that.
- Resolution set to fixed/implemented
- Status changed from Open to Closed
Also available in: Atom