Using QGIS 3.2, I can use the "Extract Vertices" tool to generate a layer of vertices for each line segment in my data. My data is split into line segments of between 400-500m in length (using the v.split command). Since the geography is not straight, the tool extracts numerous vertices for each line segment:
For example, the selected line segment in red has 5 associated vertices. Is there a way to keep only the endpoints of each segment? I can use the fact that "vertex_part = 0" to find one endpoint, but since my line segments vary in distance I'm not sure how to easily pick out the other end.