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

2021-02-23 Thread Prud'homme Jérémie
Hi,

Not sure if/how I can help on this benchmark.
If I understand well you want to know if disabling the simplification on
the marker line symbol layer only would make a huge difference or not on
rendering performance. But as far as I saw the option is only available for
the whole layer at the moment.


Jérémie.

Le ven. 19 févr. 2021 à 22:25, Nyall Dawson  a
écrit :

> On Fri, 19 Feb 2021 at 23:00, Andreas Neumann  wrote:
> >
> > Hi Jérémie,
> >
> > Ah good to hear!
> >
> > I'm not a big fan of this fact that line simplification is turned on by
> default in QGIS. I believe that users should consciously turn it on if they
> want it!
>
> I'd be interested to see some benchmarks of disabling vs enabling
> simplification for the marker line symbol layer alone. If it's not too
> expensive, we could skip it automatically for line marker symbol
> layers (it makes a HUGE difference to the rendering speed for simple
> line layers and other symbol layer types, but the intention is that
> the results should be visually identical to no simplification).
>
> Nyall
>
> >
> > Your example shows that it can lead to confusion (understandably).
> >
> > Good that it works now. Note that you can override this setting on a per
> layer base in the layer properties - so not all layers need to have the
> same setting.
> >
> > Greetings,
> >
> > Andreas
> >
> > On 2021-02-19 13:40, Prud'homme Jérémie wrote:
> >
> > Hi,
> >
> > I had simplification turned on, indeed...
> >
> > I deactivated it :
> > - in the Options as you mention, so that it is deactivated for newly
> added layers
> > - in my layer options (Rendering properties)
> >
> > And it is ok now.
> >
> > It makes sense that if the line is simplified the distance vary !
> >
> > Thanks Andreas.
> >
> >
> > Jérémie.
> >
> > Le ven. 19 févr. 2021 à 11:12, Andreas Neumann  a
> écrit :
> >
> > Hi Jérémie,
> >
> > Do you have geometry simplification turned off? See "Settings" -->
> "Options" --> "Rendering" --> "Enable feature simplification ..."
> >
> > Make sure this is deactivated (I think it is enabled by default).
> >
> > Greetings,
> >
> > Andreas
> >
> >
> > On 2021-02-19 11:05, Prud'homme Jérémie wrote:
> >
> > Tested too fast :(
> >
> > Behavior is ok when zooming in, but still problems when zooming out
> (whereas the entire feature is visible !).
> > See here : https://www.zupimages.net/viewer.php?id=21/07/ehlo.gif
> >
> > Circles should follow the strokes generated with the tool "Points along
> geometry".
> >
> >
> > Jérémie.
> >
> > Le ven. 19 févr. 2021 à 10:03, Prud'homme Jérémie 
> a écrit :
> >
> > Hi,
> >
> > Thank you very much Nyall, this one was pretty well hidden.
> >
> > With clipping unchecked, behavior is as expected for my use case.
> >
> >
> > Jérémie.
> >
> > Le jeu. 18 févr. 2021 à 23:29, Nyall Dawson  a
> écrit :
> >
> > On Wed, 13 Jan 2021 at 06:33, Prud'homme Jérémie 
> wrote:
> > >
> > > 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.
> >
> > From the bottom of the symbol widget, click the "Advanced" button and
> > uncheck "Clip features to canvas extent".
> >
> > Nyall
> >
> >
> >
> > >
> > > 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 ?
> > > 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@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@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@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>

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

2021-02-19 Thread Nyall Dawson
On Fri, 19 Feb 2021 at 23:00, Andreas Neumann  wrote:
>
> Hi Jérémie,
>
> Ah good to hear!
>
> I'm not a big fan of this fact that line simplification is turned on by 
> default in QGIS. I believe that users should consciously turn it on if they 
> want it!

I'd be interested to see some benchmarks of disabling vs enabling
simplification for the marker line symbol layer alone. If it's not too
expensive, we could skip it automatically for line marker symbol
layers (it makes a HUGE difference to the rendering speed for simple
line layers and other symbol layer types, but the intention is that
the results should be visually identical to no simplification).

Nyall

>
> Your example shows that it can lead to confusion (understandably).
>
> Good that it works now. Note that you can override this setting on a per 
> layer base in the layer properties - so not all layers need to have the same 
> setting.
>
> Greetings,
>
> Andreas
>
> On 2021-02-19 13:40, Prud'homme Jérémie wrote:
>
> Hi,
>
> I had simplification turned on, indeed...
>
> I deactivated it :
> - in the Options as you mention, so that it is deactivated for newly added 
> layers
> - in my layer options (Rendering properties)
>
> And it is ok now.
>
> It makes sense that if the line is simplified the distance vary !
>
> Thanks Andreas.
>
>
> Jérémie.
>
> Le ven. 19 févr. 2021 à 11:12, Andreas Neumann  a écrit :
>
> Hi Jérémie,
>
> Do you have geometry simplification turned off? See "Settings" --> "Options" 
> --> "Rendering" --> "Enable feature simplification ..."
>
> Make sure this is deactivated (I think it is enabled by default).
>
> Greetings,
>
> Andreas
>
>
> On 2021-02-19 11:05, Prud'homme Jérémie wrote:
>
> Tested too fast :(
>
> Behavior is ok when zooming in, but still problems when zooming out (whereas 
> the entire feature is visible !).
> See here : https://www.zupimages.net/viewer.php?id=21/07/ehlo.gif
>
> Circles should follow the strokes generated with the tool "Points along 
> geometry".
>
>
> Jérémie.
>
> Le ven. 19 févr. 2021 à 10:03, Prud'homme Jérémie  a 
> écrit :
>
> Hi,
>
> Thank you very much Nyall, this one was pretty well hidden.
>
> With clipping unchecked, behavior is as expected for my use case.
>
>
> Jérémie.
>
> Le jeu. 18 févr. 2021 à 23:29, Nyall Dawson  a écrit :
>
> On Wed, 13 Jan 2021 at 06:33, Prud'homme Jérémie  wrote:
> >
> > 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.
>
> From the bottom of the symbol widget, click the "Advanced" button and
> uncheck "Clip features to canvas extent".
>
> Nyall
>
>
>
> >
> > 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 ?
> > 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@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@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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-02-19 Thread Andreas Neumann

Hi Jérémie,

Ah good to hear!

I'm not a big fan of this fact that line simplification is turned on by 
default in QGIS. I believe that users should consciously turn it on if 
they want it!


Your example shows that it can lead to confusion (understandably).

Good that it works now. Note that you can override this setting on a per 
layer base in the layer properties - so not all layers need to have the 
same setting.


Greetings,

Andreas

On 2021-02-19 13:40, Prud'homme Jérémie wrote:


Hi,

I had simplification turned on, indeed...

I deactivated it :
- in the Options as you mention, so that it is deactivated for newly 
added layers

- in my layer options (Rendering properties)

And it is ok now.

It makes sense that if the line is simplified the distance vary !

Thanks Andreas.

Jérémie.

Le ven. 19 févr. 2021 à 11:12, Andreas Neumann  a 
écrit :


Hi Jérémie,

Do you have geometry simplification turned off? See "Settings" --> 
"Options" --> "Rendering" --> "Enable feature simplification ..."


Make sure this is deactivated (I think it is enabled by default).

Greetings,

Andreas

On 2021-02-19 11:05, Prud'homme Jérémie wrote:

Tested too fast :(

Behavior is ok when zooming in, but still problems when zooming out 
(whereas the entire feature is visible !).

See here : https://www.zupimages.net/viewer.php?id=21/07/ehlo.gif

Circles should follow the strokes generated with the tool "Points along 
geometry".


Jérémie.

Le ven. 19 févr. 2021 à 10:03, Prud'homme Jérémie  
a écrit :


Hi,

Thank you very much Nyall, this one was pretty well hidden.

With clipping unchecked, behavior is as expected for my use case.

Jérémie.

Le jeu. 18 févr. 2021 à 23:29, Nyall Dawson  a 
écrit : On Wed, 13 Jan 2021 at 06:33, Prud'homme Jérémie 
 wrote:


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.


From the bottom of the symbol widget, click the "Advanced" button and
uncheck "Clip features to canvas extent".

Nyall



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 ?
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@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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-02-19 Thread Prud'homme Jérémie
Hi,

I had simplification turned on, indeed...

I deactivated it :
- in the Options as you mention, so that it is deactivated for newly added
layers
- in my layer options (Rendering properties)

And it is ok now.

It makes sense that if the line is simplified the distance vary !

Thanks Andreas.


Jérémie.

Le ven. 19 févr. 2021 à 11:12, Andreas Neumann  a
écrit :

> Hi Jérémie,
>
> Do you have geometry simplification turned off? See "Settings" -->
> "Options" --> "Rendering" --> "Enable feature simplification ..."
>
> Make sure this is deactivated (I think it is enabled by default).
>
> Greetings,
>
> Andreas
>
>
> On 2021-02-19 11:05, Prud'homme Jérémie wrote:
>
> Tested too fast :(
>
> Behavior is ok when zooming in, but still problems when zooming out
> (whereas the entire feature is visible !).
> See here : https://www.zupimages.net/viewer.php?id=21/07/ehlo.gif
>
> Circles should follow the strokes generated with the tool "Points along
> geometry".
>
>
> Jérémie.
>
> Le ven. 19 févr. 2021 à 10:03, Prud'homme Jérémie  a
> écrit :
>
> Hi,
>
> Thank you very much Nyall, this one was pretty well hidden.
>
> With clipping unchecked, behavior is as expected for my use case.
>
>
> Jérémie.
>
> Le jeu. 18 févr. 2021 à 23:29, Nyall Dawson  a
> écrit :
>
> On Wed, 13 Jan 2021 at 06:33, Prud'homme Jérémie 
> wrote:
> >
> > 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.
>
> From the bottom of the symbol widget, click the "Advanced" button and
> uncheck "Clip features to canvas extent".
>
> Nyall
>
>
>
> >
> > 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 ?
> > 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@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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-02-19 Thread Andreas Neumann

Hi Jérémie,

Do you have geometry simplification turned off? See "Settings" --> 
"Options" --> "Rendering" --> "Enable feature simplification ..."


Make sure this is deactivated (I think it is enabled by default).

Greetings,

Andreas

On 2021-02-19 11:05, Prud'homme Jérémie wrote:


Tested too fast :(

Behavior is ok when zooming in, but still problems when zooming out 
(whereas the entire feature is visible !).

See here : https://www.zupimages.net/viewer.php?id=21/07/ehlo.gif

Circles should follow the strokes generated with the tool "Points along 
geometry".


Jérémie.

Le ven. 19 févr. 2021 à 10:03, Prud'homme Jérémie  
a écrit :


Hi,

Thank you very much Nyall, this one was pretty well hidden.

With clipping unchecked, behavior is as expected for my use case.

Jérémie.

Le jeu. 18 févr. 2021 à 23:29, Nyall Dawson  a 
écrit : On Wed, 13 Jan 2021 at 06:33, Prud'homme Jérémie 
 wrote:


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.


From the bottom of the symbol widget, click the "Advanced" button and
uncheck "Clip features to canvas extent".

Nyall



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 ?
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@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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-02-19 Thread Prud'homme Jérémie
Tested too fast :(

Behavior is ok when zooming in, but still problems when zooming out
(whereas the entire feature is visible !).
See here : https://www.zupimages.net/viewer.php?id=21/07/ehlo.gif

Circles should follow the strokes generated with the tool "Points along
geometry".


Jérémie.

Le ven. 19 févr. 2021 à 10:03, Prud'homme Jérémie  a
écrit :

> Hi,
>
> Thank you very much Nyall, this one was pretty well hidden.
>
> With clipping unchecked, behavior is as expected for my use case.
>
>
> Jérémie.
>
>
> Le jeu. 18 févr. 2021 à 23:29, Nyall Dawson  a
> écrit :
>
>> On Wed, 13 Jan 2021 at 06:33, Prud'homme Jérémie 
>> wrote:
>> >
>> > 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.
>>
>> From the bottom of the symbol widget, click the "Advanced" button and
>> uncheck "Clip features to canvas extent".
>>
>> Nyall
>>
>>
>>
>> >
>> > 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 ?
>> > 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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-02-19 Thread Prud'homme Jérémie
Hi,

Thank you very much Nyall, this one was pretty well hidden.

With clipping unchecked, behavior is as expected for my use case.


Jérémie.


Le jeu. 18 févr. 2021 à 23:29, Nyall Dawson  a
écrit :

> On Wed, 13 Jan 2021 at 06:33, Prud'homme Jérémie 
> wrote:
> >
> > 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.
>
> From the bottom of the symbol widget, click the "Advanced" button and
> uncheck "Clip features to canvas extent".
>
> Nyall
>
>
>
> >
> > 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 ?
> > 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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-02-18 Thread Nyall Dawson
On Wed, 13 Jan 2021 at 06:33, Prud'homme Jérémie  wrote:
>
> 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.

From the bottom of the symbol widget, click the "Advanced" button and
uncheck "Clip features to canvas extent".

Nyall



>
> 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 ?
> 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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-02-18 Thread Alexis R.L.
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  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  > > 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 ?
> > 
> > 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@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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-02-18 Thread Raymond Nijssen
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 > 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 ?

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@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-02-17 Thread Prud'homme Jérémie
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  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 ?
> 
> 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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-01-12 Thread Prud'homme Jérémie
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 ?

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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user