I would like to create a line style for projected tracks. Every kilometer on the line there should be a marker with a number. I hope it possible using geometry generator.
Making markers after 1000 meters is easy:
collect_geometries(
array_foreach(
generate_series(1, $length/1000 ),
line_interpolate_point($geometry, @element*1000)
)
)
But you also need to rotate them along the line and sign. At each point, you can calculate the azimuth by taking an additional point along the line. But how to pass this value to the marker?