I am trying to locate the coordinates of the middle point of a line feature in QGIS. I tried searching online but can't seem to find an easy way to do this.
It is a pure geometry problem that can be solved in the Python console
Find the midpoint of a segment x1,y1,x2,y2 is easy
so in the Python console
If you bring your line feature into spatialite, you can use the Line_Interpolate_Point() function to find the mid point.
The second parameter 0.5 indicates the fraction of the line length where the point will be located.