[Qgis-user] rule based classification - attribute based on other layer

Andreas Neumann a.neumann at carto.net
Thu Mar 26 08:25:06 PDT 2015


Hi,

Note that, if you work on QGIS 2.8, getFeature() and attribute() are 
already part of core - no need to install a plugin.

However, there may be a quite negative impact on performance, if you 
include such functions in your symbology impressions. So use them with 
care, only if you really need them!

Andreas

On 26.03.2015 16:10, Matteo Ghetta wrote:
> sorry... plugin installed...
> I see all the functions in the field calculator but do you have a 
> small and quick example of what I am looking for?
> I don't understand the function to use..
>
> Thanks!
>
> Matteo
>
> 2015-03-25 19:11 GMT+01:00 Junior Delaz <delazj at gmail.com 
> <mailto:delazj at gmail.com>>:
>
>     Hello,
>     You may give a look to /getFeature/ function (combining or not
>     with function like /attribute/ or spatial ones). There is also
>     /RefFunctions/ plugin that may help to use values/fields of
>     another layer.
>     But unfortunately, there is no list of such layers nor their
>     fields in the dialog. You need to write them yourself and their
>     values.
>
>     2015-03-25 18:14 GMT+01:00 Matteo Ghetta <matteo.ghetta at gmail.com
>     <mailto:matteo.ghetta at gmail.com>>:
>
>         Hi all,
>         very simple question.
>         In the rule-based classification (vector) is it possible to
>         use values of another layer loaded in QGIS?
>
>         For example. Point vector and I want to display as red each
>         feature that has a value greater than a value stored in
>         another point layer (or in a table).
>         In the expression builder there are the fields of the active
>         layer.
>
>         Is it possible to call the fields of other layers?
>
>         Thanks
>
>         Cheers
>
>         Matteo
>
>
>
>         _______________________________________________
>         Qgis-user mailing list
>         Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
>         http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150326/da538f15/attachment.html>


More information about the Qgis-user mailing list