[Qgis-user] Rule based style - categorize- label

Lene Fischer lfi at ign.ku.dk
Fri Oct 20 10:24:49 PDT 2017


Thanks!
This worked fine - Almost done my job.



Lene Fischer
Associate Professor

University of Copenhagen
Department of Geoscience and Natural Resource Management
Forest and Landscape College
Nødebovej 77a
3480 Fredensborg
Denmark


MOB +45 40115084
lfi at ign.ku.dk-----Original Message-----
From: Richard Duivenvoorde [mailto:rdmailings at duif.net] 
Sent: 20. oktober 2017 12:35
To: Lene Fischer; Alexandre Neto; qgis-user
Subject: Re: [Qgis-user] Rule based style - categorize- label


tldr; FIRST create a categorized styling, then 'change' it to rules.

If you do a catagorized styling on the same data, you get indeed only the values. There it would maybe nice to show (somewhere) the attribute name also on which you categorize?

I think the rationale was that it would be nice to show some rule info in the Label of the style?

BUT: if you first use categorized styling (with the good labels), then go back to your styling dialog and select Rule-based, QGIS will 'morph'
the categories to styles BUT KEEP THE NICE LABELS \o/

Regards,

Richard Duivenvoorde

On 20-10-17 12:25, Lene Fischer wrote:
> OK - L- Then just hard work…. 72 elements * 3. Hope I´m spelling 
> correct ;-)
> 
> Regards
> 
>  
> 
>  
> 
> *Lene Fischer*
> 
> Lektor
> 
>  
> 
> *Københavns Universitet*
> 
> Institut for Geovidenskab og Naturforvaltning
> 
>  
> 
> SKOVSKOLEN
> 
> Nødebovej 77a
> 
> 3480 Fredensborg
> 
>  
> 
> DIR 40115084
> 
> _lfi at ign.ku.dk_ <mailto:lfi at ign.ku.dk>
> 
>  
> 
>  
> 
>  
> 
>  
> 
> *From:*Alexandre Neto [mailto:senhor.neto at gmail.com]
> *Sent:* 20. oktober 2017 12:02
> *To:* Lene Fischer; qgis-user
> *Subject:* Re: [Qgis-user] Rule based style - categorize- label
> 
>  
> 
> Hello Lene,
> 
>  
> 
> I am not sure you can avoid the manual editing task, unless you run a 
> python script.
> 
>  
> 
> Alexandre Neto
> 
>  
> 
> Lene Fischer <lfi at ign.ku.dk <mailto:lfi at ign.ku.dk>> escreveu no dia 
> sexta, 20/10/2017 às 10:53:
> 
>     Hi,
> 
>     I´m trying to organize data in groups by making a rule based
>     styling. In the style I create a rule and then categorize. All fine.
> 
>     But my problem is the label. Initially the label looks fine when I
>     click Classify. But when I click OK the rule is viewed in the label
>     field, and I have to do a typing manually :-O
> 
>      
> 
>     I´ve made a small video https://www.screencast.com/t/Gwwd8S9l6 to
>     show the problem.
> 
>      
> 
>     Any suggestion.
> 
>      
> 
>     Regards
> 
>      
> 
>      
> 
>     *Lene Fischer*
> 
>     Associate Professor
> 
>      
> 
>     *University of Copenhagen*
> 
>     Department of Geoscience and Natural Resource Management
> 
>     Forest and Landscape College
> 
>     Nødebovej 77a
> 
>     3480 Fredensborg
> 
>     Denmark
> 
>      
> 
>      
> 
>     MOB +45 40115084 <tel:+45%2040%2011%2050%2084>
> 
>     lfi at ign.ku.dk <mailto:lfi at ign.ku.dk>
> 
>      
> 
>      
> 
>      
> 
>     _______________________________________________
>     Qgis-user mailing list
>     Qgis-user at lists.osgeo.org <mailto: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
> 
> --
> 
> Alexandre Neto
> 
> ---------------------
> 
> @AlexNetoGeo
> 
> http://sigsemgrilhetas.wordpress.com
> 
> http://gisunchained.wordpress.com
> 
> 
> 
> _______________________________________________
> 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
> 



More information about the Qgis-user mailing list