[Qgis-user] Symbol lines every km, moving when changing scale or moving map

Alexis R.L. alroyliz0 at gmail.com
Thu Feb 18 13:39:47 PST 2021


A more 'permanent' workaround would be to densify the lines and then place
a symbol on every vertex, including or not the ones at the extremities.

Alex


Le jeu. 18 févr. 2021 à 12:07, Raymond Nijssen <r.nijssen at terglobo.nl> a
écrit :

> 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 <p.jeremie at gmail.com
> > <mailto:p.jeremie at gmail.com>> 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
> > Qgis-user at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210218/d73f1c6f/attachment.html>


More information about the Qgis-user mailing list