Re: [Qgis-user] styling mutiple attributes within the same layer

2019-02-25 Thread Groene Bij
Thank you for both tips, they work great, at least within Qgis.

I'll contact the qgis2web authors to see if an integration of multiple layers 
is possible in the plugin.

Gr.
Jeroen


-Oorspronkelijk bericht-
Van: Qgis-user  Namens 
qgis-u...@stripfamily.net
Verzonden: zaterdag 23 februari 2019 15:56
Aan: qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] styling mutiple attributes within the same layer

On 2/23/2019 7:06 AM, Andreas Neumann wrote:
> Hi Groene,
>
> you can set multiple styles on a single layer. No problem. Just right 
> click the layer, select styles and add a new style.
>
> Greetings, Andreas

Related tip:
to quickly change between the different styles, use the "Layer Styling"
panel:
View->Panels->Layer Styling.
The left side of the panel (at least in 3.4)  contains a column with 5 icons. 
The 4th one is "Style Manager", which will present a list of the styles defined 
for the layer. You can select the style to display by clicking on it. You can 
also add and delete styles from this view.
___
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] styling mutiple attributes within the same layer

2019-02-23 Thread qgis-user
On 2/23/2019 7:06 AM, Andreas Neumann wrote:
> Hi Groene,
>
> you can set multiple styles on a single layer. No problem. Just right
> click the layer, select styles and add a new style.
>
> Greetings, Andreas

Related tip:
to quickly change between the different styles, use the "Layer Styling"
panel:
View->Panels->Layer Styling.
The left side of the panel (at least in 3.4)  contains a column with 5
icons. The 4th one is "Style Manager", which will present a list of the
styles defined for the layer. You can select the style to display by
clicking on it. You can also add and delete styles from this view.
___
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] styling mutiple attributes within the same layer

2019-02-23 Thread Andreas Neumann
Hi Groene,

you can set multiple styles on a single layer. No problem. Just right click the 
layer, select styles and add a new style.

Greetings, Andreas

Am 22. Februar 2019 23:03:03 MEZ schrieb Groene Bij :
>Hi,
>
> 
>
>Please consider the following case:
>
>I have a layer with geometries and 40 attributes. I would like to style
>each
>attribute according to the same rule. To do this in qgis I would have
>to
>copy the layer 40 times and set the style to a different attribute on
>each
>layer.
>
>Then I can select which layer to look at to see the result of the
>styling.
>
>This means I have 40 layers. Making a webmap out of this project, gives
>me a
>large webmap with 40 layer data files (geojson).
>
> 
>
>Interestingly, many Leaflet textbook examples seem to suggest the
>possibility to write a styling function for each attribute and every
>time
>refer to the same layer. Then add buttons for each styling function and
>the
>function to display he layer selected.
>
>This means I should have a webmap with just 1 layer data file
>(geojson).
>
> 
>
>Is this correct? Is it possible to code a Leaflet map with 40 styling
>functions for 1 geojson layer?
>
>Why do I need to create 40 layers in qgis to get the same result? Or do
>I? 
>
> 
>
>I am probably missing something.
>
> 
>
> 
>
> 
>
> 
>
> 

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.___
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] styling mutiple attributes within the same layer

2019-02-22 Thread Groene Bij
Hi,

 

Please consider the following case:

I have a layer with geometries and 40 attributes. I would like to style each
attribute according to the same rule. To do this in qgis I would have to
copy the layer 40 times and set the style to a different attribute on each
layer.

Then I can select which layer to look at to see the result of the styling.

This means I have 40 layers. Making a webmap out of this project, gives me a
large webmap with 40 layer data files (geojson).

 

Interestingly, many Leaflet textbook examples seem to suggest the
possibility to write a styling function for each attribute and every time
refer to the same layer. Then add buttons for each styling function and the
function to display he layer selected.

This means I should have a webmap with just 1 layer data file (geojson).

 

Is this correct? Is it possible to code a Leaflet map with 40 styling
functions for 1 geojson layer?

Why do I need to create 40 layers in qgis to get the same result? Or do I? 

 

I am probably missing something.

 

 

 

 

 

___
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