[QGIS-Developer] Racism!!!!!

Osahon Oduware osahon.gis at gmail.com
Sat Feb 8 03:47:34 PST 2020


RACISM!!! This Cannot Continue:
https://www.docdroid.net/7vngbBr/this-cannot-continue.pdf

On Sat, 8 Feb 2020, 00:59 Trey Stafford, <trey.stafford at nsidc.org> wrote:

> Hello,
>
> I have a py-qgis question that someone here may be able to help me with.
>
> We are building a QGIS data package programmatically using pyqgis. One
> of our goals is to include various metadata for the layers we are adding
> to this package, so that when a user opens a layer's properties menu,
> they can see things like the abstract, citation information, etc.
>
> In QGIS, using the GUI, we can add an abstract directly into the
> 'Abstract' field in the metadata tab (layer properties popup), and then
> save the project to write that information out to the project file. This
> gets placed in the `abstract` tag under the `resourceMetadata` tag
> associated with the layer in question. My question is: how do we
> programmatically add this abstract information to the project file using
> pyqgis?
>
> There is a `setAbstract` method on QgsMapLayer objects that is used to
> change the on-hover popup text when moving the cursor over the given
> layer in the table of contents, but this does not set the 'metadata'
> abstract in the layer properties popup.
>
> Any advice or suggestions would be appreciated!
>
> Thanks,
>
> Trey Stafford
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200208/5a3fc987/attachment.html>


More information about the QGIS-Developer mailing list