Re: [Qgis-user] Multi-core use

2021-05-18 Per discussione Nicolas Cadieux
Hi, Multicore is accessible for the rendering. Some algorithms use OpenGL. I guess some multiprocessing could be accessed when writing a python plugin. Not sure about this last one. Nicolas Cadieux https://gitlab.com/njacadieux > Le 18 mai 2021 à 19:26, Grant Boxer a écrit : > > I have

Re: [Qgis-user] Multi-core use

2021-05-18 Per discussione Nyall Dawson
On Wed, 19 May 2021 at 08:26, Grant Boxer wrote: > > I have had a query from a user - does QGIS uses multi cores during > processing? It depends on the particular algorithm you're running, but generally they will only use a single core. Nyall ___

[Qgis-user] Multi-core use

2021-05-18 Per discussione Grant Boxer
I have had a query from a user - does QGIS uses multi cores during processing? Cheers Grant Perth Western Australia ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe:

Re: [Qgis-user] loading WCS through PyQGIS

2021-05-18 Per discussione Guillermo D'Angelo
Thank you vey much Richard, this will be usefull for sure. Guillermo D'Angelo Departamento de Geografía DESyTC - DINTAD - MIDES (+598) 240 0 0302 int. 3151 De: "Richard Duivenvoorde" Para: "Guillermo D'angelo" , "qgis-user" Enviados: Martes, 18 de Mayo 2021 16:01:15 Asunto: Re:

Re: [Qgis-user] loading WCS through PyQGIS

2021-05-18 Per discussione Richard Duivenvoorde
On 5/18/21 8:27 PM, Guillermo D'Angelo wrote: > Hello list. > Is it possible to load a raster from a Web Coverage Service through PyQGIS? > I'm struggling with this and can't find a working code snippet on the web. Hi, I wrote some about WCS requests for our national service here:

Re: [Qgis-user] how to synchronize the qgis point layer with the source tables

2021-05-18 Per discussione Thayer Young
urce tables, the data of the point layer is not modified and another time i need to create the point layer for update it. So , exist any option for activate the synchronize? -- next part -- An HTML attachment was scrubbed... URL: <http://lists.osgeo.org/pipermail/qgis-user/attachm

[Qgis-user] loading WCS through PyQGIS

2021-05-18 Per discussione Guillermo D'Angelo
Hello list. Is it possible to load a raster from a Web Coverage Service through PyQGIS? I'm struggling with this and can't find a working code snippet on the web. Thanks in advance. Guillermo D'Angelo Departamento de Geografía División de Estudios Sociales y Trabajo de Campo

[Qgis-user] 3.18.3 version on macOS isn't available

2021-05-18 Per discussione Luis Puerto
Hey! The version QGIS 3.18.3 version is not available on macOS although on the site is advertised and if you open QGIS is telling you that there is a new version. However, when you download you get the 3.18.

Re: [Qgis-user] Select data from a specific layer

2021-05-18 Per discussione Dario
 I try to answer without attached images (size limit)... values are correct. I made first a virtual field in which I have "N" or "R" in the "Colore" filed through an expression and it works. My problem is the colour now. I tried also with 'Colore' instead of "Colore", but nothing change.

Re: [QGIS-it-user] errore nella sintassi di rastercalculator

2021-05-18 Per discussione Andrea Giudiceandrea
Giacomo Fontanelli-2 wrote > rasterLayer = QgsRasterLayer("home/test/prova.tif", "raster") > >> > "EXPRESSION": "10 * ( log10 ( rasterLayer@1 ) )", Ciao Giacomo, il nome del raster nell'espressione è errato. Nell'espressione non devi usare il nome della variabile a cui è stato

Re: [Qgis-user] Slooooow spatial joins

2021-05-18 Per discussione ryanpeel
Worked like a charm! and FAST! Thanks all! Don't understand what the overhead is with QGIS and why it is so much slower though but on to other challenges I guess. -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html ___

Re: [Qgis-user] Slooooow spatial joins

2021-05-18 Per discussione Karl Magnus Jönsson
Hi! How about just execute some SQL in an algorithm or model since you have the data in Postgis? And do the spatial join directly in the database. Like (not tested): UPDATE polygonlayer p SET p.field = pt.field FROM pointlayer pt WHERE st_within(pt.geom,p.geom); Karl-Magnus Jönsson Från:

Re: [Qgis-user] Slooooow spatial joins

2021-05-18 Per discussione Ryan Peel
I can appreciate that but it forces to create another layer/file I think. I really don't want to have to re-import my entire table back into postgis just to get this one column. On Mon, May 17, 2021, 10:29 PM Nyall Dawson wrote: > On Tue, 18 May 2021 at 11:59, Ryan Peel wrote: > > > > I have

Re: [QGIS-it-user] errore nella sintassi di rastercalculator

2021-05-18 Per discussione Giacomo Fontanelli
Ciao Andrea ho risolto seguendo il tuo consiglio, ovvero la sintassi giusta per il parametro expression è "EXPRESSION": "10 * ( log10 ( home/test/prova.tif@1 ) )", grazie mille Giacomo Il giorno mar 18 mag 2021 alle ore 11:24 Andrea Giudiceandrea < andreaer...@libero.it> ha scritto: >

Re: [QGIS-it-user] errore nella sintassi di rastercalculator

2021-05-18 Per discussione Giacomo Fontanelli
Ciao Andrea il file in ingresso rasterLayer equivale a rasterLayer = QgsRasterLayer("home/test/prova.tif", "raster") e il file outPathFile è "home/test/out.tif" ho provato anche a cambiare formula ma il risultato non cambia grazie Il giorno lun 17 mag 2021 alle ore 20:56 Andrea

[Qgis-user] google road layer loaded incorrect

2021-05-18 Per discussione ngoc pham
I add google road map layer to canvas, but it seem load incorrect CRS? QgsDataSourceUri ds; ds.setParam("type", "xyz"); ds.setParam("url", QString(" https://mt1.google.com/vt/lyrs=m={x}={y}={z};)); QgsRasterLayer* layer = new QgsRasterLayer(ds.encodedUri(), "my map", "wms"); QList layers =

Re: [Qgis-user] Select data from a specific layer

2021-05-18 Per discussione Ujaval Gandhi
get_feature() will get you the feature.Your current expression will get you the first feature from 'V_TB_ATTIVITA_PT_NR' layer where the "Colore" value is 'N'. - I don't think that is what you want. You need to query for a feature from another layer that relates to the current feature, (using a