[QGIS-Developer] WG: QGIS - Layer Properties Change

Denis Rouzaud denis.rouzaud at gmail.com
Fri Jun 15 04:25:19 PDT 2018


Hi Lukas,

You can have a look at the PyQGIS (Python QGIS) documentation.
In your case, have a look at QgsMapLayer.setCrs
https://qgis.org/pyqgis/master/core/Map/QgsMapLayer.html#qgis.core.QgsMapLayer.setCrs

(almost) everything's possible with PyQGIS!

Denis

Le ven. 15 juin 2018 à 06:10, Hauer Lukas <lukas.hauer at josephinum.at> a
écrit :

> Hello!
>
>
>
> I have a question, maybe you have time to answer J
>
> I need to automate as much as possible with python in QGIS. First I want
> to switch the coordinate system of a layer, for example to WGS84. I can’t
> find any way to do this. Maybe you can help me with an hint, or if it is
> even possible to do this via python?
>
>
>
> My plan is to create a fertilizer map for my fields and combine it with
> the sentinel 2 satellite to also use the ndvi.
>
>
>
>
>
> QGIS Version: 2.18.18
>
> QGIS Codeversion: b33566195a
>
> Other detailed informations I attached.
>
>
>
>
>
> Kind Regards Lukas
> _______________________________________________
> 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/20180615/ce9143bc/attachment-0001.html>


More information about the QGIS-Developer mailing list