Re: [Qgis-user] PyQGIS to set masked symbol layer and mask source in ver. 3.30

2023-04-27 Per discussione Anne B. Nilsen via QGIS-User
Thanks! Not sure if I do this the best way (I'm not a programmer nor a pyQGIS-expert)... I ended up with adding two procedures and changing the code-line for setting the mask () accordingly: def get_symbollayer(layer, ruleId, symbollayer_ids): """ Returns the symbol layer according

Re: [Qgis-user] Pyqgis how to append existing gpkg layer

2023-04-26 Per discussione Anne B. Nilsen via QGIS-User
Sorry, an error in the code in the previous answer. Correct code is (writer should be without indentation): ... def create_blank_gpkg_layer(gpkg_path: str, layer_name: str, geometry: int, crs: str, fields: QgsFields, append: bool = False ) ->

Re: [Qgis-user] Pyqgis how to append existing gpkg layer

2023-04-26 Per discussione Anne B. Nilsen via QGIS-User
I'm not a pyQGIS-expert, but with help from gis.stackechange.com I have managed to create an empty geopackage file and then adding several layers to it with this code: ... gpkg_reg = "karplanteregistrering.gpkg" # the NEW gpkg to be created if os.path.exists(gpkg_reg):

[Qgis-user] PyQGIS to set masked symbol layer and mask source in ver. 3.30

2023-04-26 Per discussione Anne B. Nilsen via QGIS-User
Thanks to the answer to this post https://gis.stackexchange.com/questions/447362/pyqgis-to-set-masked-symbol-layer-and-mask-source I managed to set the mask layer in QGIS version 3.28. The code is not working In ver. 3.30 due to a change in the QgsSymbolLayerReference class. However I'm not

Re: [Qgis-user] uninstall WIN 10

2022-08-09 Per discussione Anne B. Nilsen via Qgis-user
Have a look at https://gis.stackexchange.com/questions/30990/uninstalling-qgis-that-was-installed-using-osgeo Best regards Anne Fra: Qgis-user På vegne av pete kroopnick via Qgis-user Sendt: tirsdag 9. august 2022 05:55 Til: qgis-user@lists.osgeo.org Emne: [Qgis-user] uninstall WIN 10 How do I

[Qgis-user] QGIS 3.26: raster i geopackage not displayed?

2022-06-30 Per discussione Anne B. Nilsen via Qgis-user
In QGIS 3.22 my raster images saved in as gpkg are shown, in QGIS 3.26 not? Something I've missed? Best regards A. Nilsen ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: