I'm looking for a method to add perpendicular lines at points along a polyline. Essentially I'm searching for a solution in QGIS or Python (I'm aware of an ArcGIS solution available here: http://www.arcgis.com/home/item.html?id=3f05ef15203e4a3ca88fc1d92347512b.
A similar question (How to add a perpendicular line to the start & end nodes of every polyline?) addresses what I'm looking to achieve, but again, I need a QGIS/Python solution.
Does anybody have any advice? Currently I'm using the QChainage plugin to generate equally spaced points across lines (see below), but can't find a method to generate perpendicular lines from the points.


{}button that enables you to format any highlighted code nicely. – PolyGeo Jul 04 '18 at 21:15