But this applies the style to all the points in the line, but I just
want to apply it to the line itself.
And then how can I finally print the result to a .png file? Convert to
.shp and view in qgis? But my .shp ended up with no points in it.