[Qgis-user] QGIS- How to render a raster using a field other than Value [SEC=UNCLASSIFIED]

Andreas Neumann a.neumann at carto.net
Tue Oct 13 23:32:15 PDT 2015


Hi Inna,

Do you mean based on a calculation (expression)?

Unfortunately, this is not possible yet. You'd have to calculate a new 
raster file for that.

It would be an interesting addition to QGIS - if you really care about 
it you might consider sponsoring this as a new feature. The expression 
engine is already quite powerful in QGIS - so it should be possible.

---------------------

Actually - there may be a workaround by (but not too intuitive). I 
believe you can create a virtual raster file (VRT) where you can do 
calculations. It is basically an XML file where you can mix/change 
channels or do calculations on the raster. This is done on the fly. So 
instead of loading your original raster - you would load the VRT file - 
which contains and applies the calculations on the fly.

See http://www.gdal.org/gdal_vrttut.html

Hope this helps,
Andreas

On 14.10.2015 08:13, Inna Nogeste wrote:
>
> I would like to render my raster using a field that is not the Value 
> field. Is it possible to do this in QGIS? This is easily done in ESRI 
> ArcMap.
>
> I have access to both QGIS 2.10 and QGIS 2.8.
>
> Regards,
>
> *Inna Nogeste *| Spatial Information Specialist
>
> Description: Description: Description: cid:644484304 at 28112013-1D4C
> *Environmental Information Management***
>
> *Data Management
> Geospatial Data and Access Unit***
>
> Bureau of Meteorology
> www.bom.gov.au <http://www.bom.gov.au/>
>
>
>
> _______________________________________________
> 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/20151014/52d6c142/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2620 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151014/52d6c142/attachment.gif>


More information about the Qgis-user mailing list