[QGIS-ZA-user] QGIS Legend Problem
Frank Sokolic
sokolic at worldonline.co.za
Mon Jul 17 05:19:12 PDT 2017
Hi Immo,
Which version of QGIS are you using?
Frank.
On 17/07/2017 09:48, Immo Blecher via qgis-za-user wrote:
>
> Good Morning Everyone,
>
> I have a geology layer with a few columns, including the
> chronostratigraphic symbol, the rock type description and,
> importantly, a colour column (String type). The values stored in the
> colour column are the HTML hex values for the colour according to the
> 1 : 1 000 000 simplified geological map of South Africa.
>
> When I open the layer and select the colour column for colouring the
> lithological units it works beautifully, but I do not get a legend for
> the composer. But if I set the Properties|Style to Categorized and
> then again select the colour from the Colour column in the table I
> also get the same nicely coloured map according to the colour column,
> an a Legend. But the Legend is wrong...it chooses random colours! What
> am I doing wrong? Is there a way to get a correct legend, also only
> showing the units which are actually on the map in the composer. I can
> set the colours manually to match the value in the colour field but
> that sort of defeats the purpose.
>
> Thanks for your help so long,
>
> Immo
>
> --
>
> *Immo F. Blecher**
> Street: */52 Lynedoch Eco Village, Lynedoch, 7603, South Africa
> //*Postal:*//52 Lynedoch Eco Village, Lynedoch, 7603, South Africa
> //*Cell:*///+27 83 272 6791 |*Fax: *+27 86 7363302
> *Email:*_immo at blecher.co.za_ <mailto:immo at blecher.co.za> |
> _immob19 at gmail.com_ <mailto:immob19 at gmail.com>| _immob at mymtnmail.co.za
> <mailto:immob at mymtnmail.co.za>
> _*Internet:*_http://www.blecher.co.za/_
>
>
>
>
> _______________________________________________
> qgis-za-user mailing list
> qgis-za-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-za-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-za-user/attachments/20170717/22ec159f/attachment.html>
More information about the qgis-za-user
mailing list