[Qgis-user] Captioning raster layers

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Wed May 6 06:47:51 PDT 2020


Hi,

A raster database has not been developed yet in QGIS, unless it was recently add and don’t know about it.  I did not know it could stored in the metadata.  I know some metadata (Like layer name, file name) can queried as variables.  Could this be used in a python script? Anyone???

Ultimately, you could do a raster to vector conversion and add the data in a new database. You could make that layer transparent but still access the dataset.

Nicolas Cadieux
Ça va bien aller!

> Le 6 mai 2020 à 00:03, Patrick Dunford <enzedrailmaps at gmail.com> a écrit :
> 
> Good day
> 
> As we know, for vector layers, we can caption the layers with any field that is stored in the data table that is incorporated into each layer.
> 
> With a raster layer, there obviously isn't an equivalent data structure attached within the raster file itself, but within the properties assigned to each raster layer that is incorporated into a Qgis project are metadata fields that can be filled in and presumably this data is stored within the project file for the layer concerned.
> 
> Given that there is this data stored then I think there is a question that it should be possible to display any of the fields as a caption when the raster layer is visible on the canvas and unfortunately I cannot find any way of doing this. As I currently use various raster layers in my projects that are from various dates I would prefer to have some way of displaying the date associated with each layer within the canvas and this does not appear to be possible at present with the software.
> 
> 
> _______________________________________________
> 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