Re: [Qgis-user] Raster calculation: if Layer1 is > 1, then Layer2 should be 0

2022-02-17 Per discussione Nyall Dawson
On Fri, 18 Feb 2022 at 09:22, Nyall Dawson wrote: > By > not setting a "maximum" value in the row we indicate that the range is > from 100 < input value < +infinity. Gah, that should be "1 < input value < +infinity"! Nyall ___ Qgis-user mailing list

Re: [Qgis-user] Raster calculation: if Layer1 is > 1, then Layer2 should be 0

2022-02-17 Per discussione Nyall Dawson
On Fri, 18 Feb 2022 at 08:56, Bernd Vogelgesang wrote: > > Hi Nyall, > > sorry, mixed things up. The native raster calculator only threw errors, > while the GDAL worked. Thanks for the clarification! Indeed there are some open tickets regarding the native raster calculator. FWIW, I'd actually

Re: [Qgis-user] Raster calculation: if Layer1 is > 1, then Layer2 should be 0

2022-02-17 Per discussione Bernd Vogelgesang
Hi Nyall, sorry, mixed things up. The native raster calculator only threw errors, while the GDAL worked. Now that I tried again, everything is fine. Strange hickup. Anyway, everything ist fine now and things start getting sorted. Happy again :) Cheers, Bernd Am 17.02.22 um 23:22 schrieb

Re: [Qgis-user] Raster calculation: if Layer1 is > 1, then Layer2 should be 0

2022-02-17 Per discussione Nyall Dawson
On Fri, 18 Feb 2022 at 08:08, Bernd Vogelgesang wrote: > > Hi Sebastian, > > thanx, that worked. > > But somehow, the hole process feels a bit clumsy. > > Having to fumble together a classification with "thru" (juck!), then the > toolbox reclassify just seems to be broken, Which reclassify tool

Re: [Qgis-user] Raster calculation: if Layer1 is > 1, then Layer2 should be 0

2022-02-17 Per discussione Bernd Vogelgesang
Hi Sebastian, thanx, that worked. But somehow, the hole process feels a bit clumsy. Having to fumble together a classification with "thru" (juck!), then the toolbox reclassify just seems to be broken, gladly gdal calculator does ... Why isn't there some "raster SQL" that saves one from all

[Qgis-user] How to import a XML color ramp ?

2022-02-17 Per discussione Allan López
Dear all, I got a color ramp parula.XML, but I do not see a way to import it along with the other ramps. I appreciate your kind assistance Best, Allan Lopez ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info:

Re: [Qgis-user] Raster calculation: if Layer1 is > 1, then Layer2 should be 0

2022-02-17 Per discussione Sebastian Gutwein
Reclassify your Layer 1 to be anything greater than 1 = 0 everything else equals 1. This will give you a binary 1 and 0 raster (Layer 3) that you can use in the raster calculator: Layer 2 * Layer 3. Anywhere where layer 3 is 1 your layer 2 values will stay the same and anywhere where layer 3 is

[Qgis-user] Raster calculation: if Layer1 is > 1, then Layer2 should be 0

2022-02-17 Per discussione Bernd Vogelgesang
Hi folk, I hardly never work with raster calculations, and unfortunately there is nowhere a collection of syntax examples for different use cases to be found (documentation :( ). Anything apart from +-*/ is beyond my scope. So, I made a viewshed analysis over a digital surface model (try the

Re: [QGIS-it-user] Ordine di scrittura del file qgs

2022-02-17 Per discussione Marco Guiducci
Il 17/02/2022 11:28, Andrea Giudiceandrea ha scritto: Il 17/02/2022 11:17, Marco Guiducci ha scritto: Grazie! funziona al 99%. scombina, almeno nel mio progetto, i figli di questo elemento: che son rimangono nell'ordine e vengono inserite extra linee bianche (diverse ad ogni salvataggio).

Re: [QGIS-it-user] Ordine di scrittura del file qgs

2022-02-17 Per discussione Paolo Cavallini
Suggerirei di aprire un ticket sul plugin, quello che hai notato non dovrebbe essere difficile da sistemare, almeno in parte. Il 17 febbraio 2022 12:17:56 EET, Marco Guiducci ha scritto: >Il 16/02/2022 18:19, Andrea Giudiceandrea ha scritto: >> Ciao Marco, >> c'è un plugin che dovrebbe

Re: [QGIS-it-user] Ordine di scrittura del file qgs

2022-02-17 Per discussione Marco Guiducci
Il 16/02/2022 18:19, Andrea Giudiceandrea ha scritto: Ciao Marco, c'è un plugin che dovrebbe risolvere questo problema: https://plugins.qgis.org/plugins/trackable_project_files/ A presto. Andrea Il 16/02/2022 15:48, Marco Guiducci ha scritto: Ho notato che QGis, ogni volta che salva il file

[QGIS-it-user] Visualizzare una foto

2022-02-17 Per discussione Franco Cazzola
Buongiorno a tutti Ho un layer puntuale e in un campo della tabella associata ho il nome della foto. Vorrei attivare una azione che visualizza la foto (non all'interno di una form) ma lanciando un visualizzatore. Questo è abbastanza facile usando il Tipo: Generico perché ci pensa Windows ma

[Qgis-user] Plugin Builder: ImportError: attempted relative import

2022-02-17 Per discussione L.W.
Hello, can someone point me to resolve the error? I made a plugin-template with plugin builder and tried to run this in qgis (python editor) without making any changes. regards # Python Console # Use iface to access QGIS API interface or type help(iface) for more info # Security warning:

[QGIS-it-user] [promo] Corso di cartografia

2022-02-17 Per discussione matteo
Salve a tutti, abbiamo pubblicato ancora posto per il corso di cartografia online di QGIS della settimana prossima 21-24 Febbraio 2022. Ecco tutti gli appuntamenti con la formazione di Faunalia: * Cartografia con QGIS: 21-24 Febbraio 2022 * Analisi con QGIS: 21-24 Marzo 2022 * Geodatabase:

[Qgis-user] Keyboard Shortcuts

2022-02-17 Per discussione Patrick Dunford
Good day I am looking at the keyboard shortcuts settings, specifically the ability to load a set of shortcuts from a file. As far as I can tell, there is no global settings or ini file that stores all the shortcuts for the software. Instead, there is an option to create a file by saving it