I am making a farm plan in QGIS. One of the layers is the fencing layout (Shapefile / Line String). One of the fields is the post distance. Other is virtual field calculating post amount (length($geometry)/post_dist). Then I use marker line with "Interval" set to Meters at scale > post_dist to approximate fence positions.
On a straight line, quite ok.
But on a polyline, the points are placed continously skipping the corners, but on a real fence, I will place a post on every corner/breakpoint and then evenly between breakpoints to get my post distance between some min and max distance (e.g. 4-5 meter).
It looks like this right now. Obviously could not make fence corner without a post :)
I would like it to behave like this, number of posts depending on min/max distance setting.
Is there some way to use markers (maybe with geometry generator?) to work as I described? If it is impossible, could you navigate me to some plugin/script that could maybe generate a fence posts point layer from fence LineString? Would not be as "live" as Marker Line, but could live with that.
points along line
, maybe with splitting the line at each vertex beforehand?