<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">I ment as expressions, not variables.<div><br></div><div><a href="https://docs.qgis.org/latest/en/docs/docs/user_manual/working_with_vector/expression.html">https://docs.qgis.org/latest/en/docs/docs/user_manual/working_with_vector/expression.html</a><br><br><div dir="ltr">Nicolas Cadieux<div>Ça va bien aller!</div></div><div dir="ltr"><br><blockquote type="cite">Le 6 mai 2020 à 09:47, Nicolas Cadieux <nicolas.cadieux@archeotec.ca> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>Hi,</span><br><span></span><br><span>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???</span><br><span></span><br><span>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.</span><br><span></span><br><span>Nicolas Cadieux</span><br><span>Ça va bien aller!</span><br><span></span><br><blockquote type="cite"><span>Le 6 mai 2020 à 00:03, Patrick Dunford <enzedrailmaps@gmail.com> a écrit :</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Good day</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>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.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>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.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>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.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>Qgis-user mailing list</span><br></blockquote><blockquote type="cite"><span>Qgis-user@lists.osgeo.org</span><br></blockquote><blockquote type="cite"><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></blockquote><blockquote type="cite"><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></blockquote></div></blockquote></div></body></html>