Re: [Qgis-user] Are GetLegendGraphic ignoring BBOX?

2019-06-19 Thread Andrea Peri
The bbox is an evolution out of specs added to mapserver and to qgis-server
And also to qgis wms client to allow a legend with only the elements
available in the visible map (the bbox)

More info on mapserver where there isnthe specs of this evolution.


Il mer 19 giu 2019, 12:06 Jonathan Moules  ha
scritto:

> Hi Liva,
>
> This piqued my interest so I took a quick look into it. Reading the SLD
> 1.1 spec, I don't see any provision for using Bounding Boxes anywhere in a
> GetLegendGraphics request. There is an optional "scale" parameter which can
> achieve that sort of thing though - maybe that's what you're having issues
> with?
>
> Cheers,
>
> Jonathan
>
> On 05/06/2019 09:08, Liva Vågane wrote:
>
> HI!
> I'm in the process of upgrading from 2.14 to 3.6.
> I have a GetLegendGraphic request that in 2.14 shows only symbols from
> objects within a boundingbox. QGIS 3.6 seems to ignore the bbox-parameter
> and shows all symbols. Can anyone confirm this? Should I stick to 2.14?
>
>
> Regards,
> Liva Vågane
>
>
>
>
> ___
> Qgis-user mailing listqgis-u...@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] Are GetLegendGraphic ignoring BBOX?

2019-06-19 Thread Jonathan Moules

Hi Liva,

This piqued my interest so I took a quick look into it. Reading the SLD 
1.1 spec, I don't see any provision for using Bounding Boxes anywhere in 
a GetLegendGraphics request. There is an optional "scale" parameter 
which can achieve that sort of thing though - maybe that's what you're 
having issues with?


Cheers,

Jonathan


On 05/06/2019 09:08, Liva Vågane wrote:

HI!
I'm in the process of upgrading from 2.14 to 3.6.
I have a GetLegendGraphic request that in 2.14 shows only symbols from 
objects within a boundingbox. QGIS 3.6 seems to ignore the 
bbox-parameter and shows all symbols. Can anyone confirm this? Should 
I stick to 2.14?



Regards,
Liva Vågane




___
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] Two questions about layer symbology

2019-06-19 Thread Richard McDonnell
Hi Ville,
Why not add the Colours/Symbols to your attribute table? Create individual 
symbols and use a field in the attribute table to call them, then use a colour 
field to apply the correct colour to the text.
Hope this helps or gives you a few more ideas.
Regards,

Richard

From: Qgis-user  On Behalf Of Ville Koivisto
Sent: 19 June 2019 09:01
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Two questions about layer symbology

Dear list,

I wonder if anyone knows if there's any solution to modify @symbol_color syntax 
for labeling. My issue is the following:

How could I assign label text color by symbol color, BUT by a specified symbol 
layer (e.g. a feature is rendered as two lines of different width, one being 
red and being black)? I can use @symbol_color as an expression, but it will 
always use the wrong symbol layer for my case.

Any idea how one could modify the expression? Thank you for your time.

Best regards,
Ville Koivisto




Email Disclaimer: http://www.opw.ie/en/disclaimer/
___
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] Two questions about layer symbology

2019-06-19 Thread Ville Koivisto
Dear list,

I wonder if anyone knows if there's any solution to modify @symbol_color syntax 
for labeling. My issue is the following:

How could I assign label text color by symbol color, BUT by a specified symbol 
layer (e.g. a feature is rendered as two lines of different width, one being 
red and being black)? I can use @symbol_color as an expression, but it will 
always use the wrong symbol layer for my case.

Any idea how one could modify the expression? Thank you for your time.

Best regards,
Ville Koivisto

___
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