Re: [QGIS-it-user] MagicWand in python Console

2023-04-26 Per discussione Giulio
Buongiorno Non sono presenti e non vengono installati da osgeo, parrebbero mancare nel repositori A presto Giulio ⁣Ottieni BlueMail per Android ​ Il giorno 27 apr 2023, 00:58, alle ore 00:58, Andrea Giudiceandrea via QGIS-it-user ha scritto: >> Giulio Fattori giulio.fattori a tin.it >> Gio 6

Re: [QGIS-it-user] MagicWand in python Console

2023-04-26 Per discussione Andrea Giudiceandrea via QGIS-it-user
Giulio Fattori giulio.fattori a tin.it Gio 6 Apr 2023 22:20:13 PDT al tentativo di usarla appare il messaggio /'The Python modules isort, autopep8 are missing'/ ho tentato di installarli dal setup di osgeo ma senza risultato, pare non siano disponibili. Ciao Giulio, non ho capito: i

Re: [Qgis-user] setting map scale

2023-04-26 Per discussione Andrea Giudiceandrea via QGIS-User
Lester Anderson arctica1963 at gmail.com Wed Apr 26 08:29:04 PDT 2023 Not sure if this is a bug, but when trying to select the map scale from the status bar (1) It is not expanded to see properly and (2) Clicking the down button causes QGIS to crash. Issue: Version 3.30.1 Hi Lester, the

[Qgis-user] New Earth, Sun, Moon, Planets QGIS Plugin

2023-04-26 Per discussione C Hamilton via QGIS-User
I developed most of this plugin some time ago, but have never liked publishing a plugin that was not self contained meaning that it has no depancies on other Python libraries not supplied by QGIS or data too large to include. Meet the Earth, Sun, Moon, and Planets plugin. For a particular date &

Re: [Qgis-user] setting map scale

2023-04-26 Per discussione Stewart Holt via QGIS-User
Yes, I have seen that problem in 3.30.1. (I have not installed 3.30.0) The problem exists even before opening a project. When I attempted to create a new profile, QGIS became unresponsive. After a minute or so, I killed the process, restarted QGIS, and the problem still existed. I think it was

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

2023-04-26 Per discussione Julien Cabieces via QGIS-User
Hi, I changed the way we referenced symbol layer to make it more simple and robust. Now, symbol layer have a generated unique id so it's easier to reference each of them (instead of a path of indices in the symbol layers tree before). I see 2 solutions here: 1. You keep your old references and

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

2023-04-26 Per discussione andrea antonello via QGIS-User
Hi German, > that's right Andrea. It actually depends on whether you want to append > features to an existing layer, or to "append" (one could also say "create") > a layer (in)to an existing GPKG database. The latter case is well covered > by Anne's answer. > > See prior messages in this thread:

[Qgis-user] setting map scale

2023-04-26 Per discussione Lester Anderson via QGIS-User
Hello all, Not sure if this is a bug, but when trying to select the map scale from the status bar (1) It is not expanded to see properly and (2) Clicking the down button causes QGIS to crash. Issue: Version 3.30.1 Anyone el;se see this problem? 3.26.3 Shows scale fine 3.30.1 Does not show

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

2023-04-26 Per discussione Germán Carrillo via QGIS-User
Hi all, that's right Andrea. It actually depends on whether you want to append features to an existing layer, or to "append" (one could also say "create") a layer (in)to an existing GPKG database. The latter case is well covered by Anne's answer. See prior messages in this thread:

Re: [Qgis-user] [Qgis-psc] New community voting member

2023-04-26 Per discussione Fernando M. Roxo da Motta via QGIS-User
On Mon, 24 Apr 2023 15:16:54 -0100, Adelcides Varela via QGIS-User wrote: > Official name is República de Cabo Verde, mostly known as Cape Verde. Obrigado pelas suas contribuições Adelcides e seja muito bem vindo. Grande abraço. > > Matthias Kuhn escreveu no dia segunda, > 24/04/2023

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

2023-04-26 Per discussione andrea antonello via QGIS-User
Hi, from what I saw in the docs, you should be able to append to layers with the filewriter option AppendToLayerNoNewFields? The CreateOrOverwriteLayer overwrites the layer completely. Cheers, Andrea On Wed, Apr 26, 2023 at 2:58 PM Anne B. Nilsen via QGIS-User < qgis-user@lists.osgeo.org>

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):

Re: [QGIS-it-user] R: Trasparenza layer

2023-04-26 Per discussione Ernesto Sferlazza
Prova anche ad utilizzare la modalità di fusione "moltiplica", valida sia per layer vettoriali che raster: Proprietà Layer -> Simbologia -> Visualizzazione Layer -> Modalità fusione -> Moltiplica Il giorno mar 25 apr 2023 alle ore 21:04 Stefano D. ha scritto: > Salve, > > certo che esiste.

[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-it-user] Cancellazione console

2023-04-26 Per discussione Giulio Fattori
Il 26/04/2023 08:37, Andrea Giudiceandrea via QGIS-it-user ha scritto: Il 06/04/2023 21:16, Andrea Giudiceandrea ha scritto: Il 06/04/2023 19:49, Giulio Fattori ha scritto: che codice occorre per cancellare la console da pyqgis? Ciao Giulio, questo dovrebbe fare al caso tuo... from console

Re: [Qgis-user] Problems with installation QGIS Server 3.28.5 on Ubuntu 22.04.

2023-04-26 Per discussione G. Wagner, Wagner-IT via QGIS-User
Hi, the problem is probably due to the fact that the Hetzner cloud servers have an "arm64" or "aarch64" architecture. And these do not support the QGIS packages. Is the support planned in the future? Günter ___ QGIS-User mailing list

Re: [Qgis-user] self-learning resources

2023-04-26 Per discussione Ujaval Gandhi via QGIS-User
Hi Simon,I have a series of beginner-friendly tutorials in multiple languages at https://www.qgistutorials.com/. There's also several full-length courses at https://courses.spatialthoughts.com/---Ujaval GandhiSpatial Thoughtswww.spatialthoughts.comOn Wed, Apr 26, 2023 at 3:59 AM Phil Wyatt via

Re: [Qgis-user] Opening GEOTIFF file in QGIS support request

2023-04-26 Per discussione Richard McDonnell via QGIS-User
Hi Gino, Just to echo what Richard Duienvoorde said, QGIS should handle GeoTIFF perfectly fine. I use the format myself when working with raster's in QGIS. First question's I would ask would be: 1)Are you getting any error messages when you load the Raster? What are they?? 2)Is the Raster

Re: [QGIS-it-user] Cancellazione console

2023-04-26 Per discussione Andrea Giudiceandrea via QGIS-it-user
Il 06/04/2023 21:16, Andrea Giudiceandrea ha scritto: Il 06/04/2023 19:49, Giulio Fattori ha scritto: che codice occorre per cancellare la console da pyqgis? Ciao Giulio, questo dovrebbe fare al caso tuo... from console import console console._console.console.shellOut.clearConsole() Ciao