Yes, I recognize that behaviour. I think QGIS cuts the line at the map canvas border and starts calculating point locations from the cut off point. Probably to prevent calculating all points outside the map that won't be visible anyway.

This is good when you just want a hatched line or a row of circles or something. But when visualizing a marker at every km of your cycle route it is a bad idea.

I think the workaround is in using a geometry generator instead.

Raymond


On 17-02-2021 13:23, Prud'homme Jérémie wrote:
Hello,

Does anyone can tell me if the behavior is normal or if it is not working as expected ?


Jérémie.


Le mar. 12 janv. 2021 à 21:33, Prud'homme Jérémie <[email protected] <mailto:[email protected]>> a écrit :

    Hi,

    I'm using QGIS 3.10.

    I tried to use only symbology to display a stroke every km along a road.
    The project CRS is 2154 (Lambert 93).

    When adding a ""symbol line" with an interval of 1000 map units
    (meter for 2154) – or 1000 meters at scale, same result – I achieve
    to display symbols every km.

    Problem is when I move the map or change scale, the symbols do not
    always stay in place. They are sometimes misplaced.

    I've been told that problem can be that the first node of the line
    is not always the reference to calculate the intervals.

    You can find a GIF here that displays my problem :
    https://zupimages.net/viewer.php?id=21/02/nvr2.gif

    Circles are symbols via Symbology.
    Strokes are symbos on points generated vith the tool "Points along
    geometry".

    You can see that circles are not always at the same place as the
    strokes.

    Is it a "normal" behavior ?
    <https://zupimages.net/viewer.php?id=21/02/nvr2.gif>
    Anyway as a user I would expect that symbols are always generated at
    the same place from the starting node.

    Thanks for your enlightments on this.

    Jérémie.


_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to