[Qgis-user] Convert QML style files

2021-08-23 Thread krishna Ayyala
Hello, I have few shapefiles that have QML style files. The symbology of shapefiles works perfectly fine within QGIS. However, when I add these shapefiles to ArcGIS online map, the symbology does not get translated. Is there a way to convert the QML style symbology to ESRI compatible style?

Re: [Qgis-user] processAlgorithm vs processFeature?

2021-08-23 Thread Ujaval Gandhi
If your algorithm works on each feature independently, processFeature() is preferred. If you need to work with layers, you need to use processAlgorithm(). I demonstrate this with an example at https://spatialthoughts.com/2019/04/05/geodesic-buffers-in-qgis/ On Mon, 23 Aug 2021 at 10:25 PM, C

Re: [Qgis-user] Labels

2021-08-23 Thread Richard Greenwood
Sure. Use the Expression builder. You get to it by press the ∑ button to the righ of the value drop down list. Then enter the fields in double quotes concatenated with +, for example: "Town" + "Date" If you need a space or other text, enclose it in single quotes. For example: "Town" + '

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Nicolas Cadieux
Thanks Nyall, I figured it was that because I could place the string “Length” in a column. I thought it would work in the field calculator with something like ‘“‘ || @thelenghtstring || ‘“‘ but obviously, it does not. Thank ps for the precision. Nicolas Cadieux https://gitlab.com/njacadieux

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Nyall Dawson
On Tue, 24 Aug 2021 at 03:53, Charles Dixon-Paver wrote: > > Honestly I have no idea  > > I mean, of course what is happening is QGIS is needing to identify a field > from a text string, and it's even possible that with some convoluted chain of > escape characters or funky regex the process

[Qgis-user] Labels

2021-08-23 Thread Pat Brown
Is it possible to use two variables as labels? I have a table with town names and another column with dates established. I would like both the name and date as labels Thanks ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info:

Re: [Qgis-user] Outer border only + fill

2021-08-23 Thread Alexandre Neto
Dario, QGIS 3.20 has now a merged renderer that you may want to check. A segunda, 23/08/2021, 15:40, Charles Dixon-Paver escreveu: > You could use a geometry generator symbol style. Not sure of the best > expression for it but even something like > if("fid"=1,buffer(collect($geometry),0),0)

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Alexandre Neto
There's some missing spaces in the expression, but I think you got it. A segunda, 23/08/2021, 23:07, Alexandre Neto escreveu: > I am a bit late, and Charles already provided a working solution, but > don't forget the extremely useful function eval. > > The function as is will compare fieldname

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Alexandre Neto
I am a bit late, and Charles already provided a working solution, but don't forget the extremely useful function eval. The function as is will compare fieldname to fieldname (returning true) and then try to concatenate the string '2' to it... @NamelengthField != @NamelengthField || '2' Try

Re: [QGIS-it-user] ordine elenco plugin

2021-08-23 Thread Andrea Giudiceandrea
Il 23/08/2021 11:38, Stefano Campus ha scritto: come faccio a mettere in ordine di pubblicazione/aggiornamento l'elenco dei plugin? cliccando sul pulsante di destra del mouse effettivamente c'è l'opzione ordina per data di aggiornamento, ma rimangono in ordine alfabetico... Ciao Stefano,

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Charles Dixon-Paver
Honestly I have no idea  I mean, of course what is happening is QGIS is needing to identify a field from a text string, and it's even possible that with some convoluted chain of escape characters or funky regex the process could correct itself and "just work". In all likelihood you could have

Re: [QGIS-it-user] ordine elenco plugin

2021-08-23 Thread Stefano Campus
Grazie mille Andrea, non sempre si ha tempo di dare un'occhiata alle novità e ormai sono talmente tanti che ci si perde facilmente. s. Il lun 23 ago 2021, 19:12 Andrea Giudiceandrea ha scritto: > Il 23/08/2021 11:38, Stefano Campus ha scritto: > > come faccio a mettere in ordine di

[Qgis-user] processAlgorithm vs processFeature?

2021-08-23 Thread C Hamilton
I discovered that it looks like there is another way to deal with processing algorithms. Rather than use processAlgorithm it looks like I can use prepareAlgorithm & processFeature. I have always used processAlgorithm and then iterated through the features. Is processFeature just as quick as using

Re: [Qgis-user] Problem using Model Inputs variable in an Select by expression in the model Designer

2021-08-23 Thread Nicolas Cadieux
Hi, if(attribute(to_string( @NamelengthField )) != "LENGTH2", TRUE, FALSE ) ("LENGHT2" is an existing field and @NamelengthField was a model input string.) This worked  for me!   If you have the time, please explain why I needed the _attribute()_ function for this to work.  I looked in the

Re: [Qgis-user] QGIS slow performance with PostgreSQL/PostGIS

2021-08-23 Thread Asim
On 8/23/21 1:34 PM, Morten Storm wrote: The slowness shows its ugly face when for instance the program freezes for a long time when performing even simple tasks, like e.g. saving the project or moving the map in the window. Which process is the top CPU consumer during this time?  Is it

Re: [Qgis-user] Default line width when importing data

2021-08-23 Thread Richard Duivenvoorde
On 8/23/21 3:44 PM, David Strip wrote: > On Mon, 23 Aug 2021 at 02:27, Johanna Botman > wrote: >> >> The default is 0.26. I don’t know what unit of measurement that is, and it >> doesn’t really matter. I would just like to be able to set my own width as >>

Re: [Qgis-user] Outer border only + fill

2021-08-23 Thread Charles Dixon-Paver
You could use a geometry generator symbol style. Not sure of the best expression for it but even something like if("fid"=1,buffer(collect($geometry),0),0) should work On Mon, 23 Aug 2021, 16:25 Dario C, wrote: > Hi, > I have road layer with several pieces of geometry. > is there any way to

[Qgis-user] Outer border only + fill

2021-08-23 Thread Dario C
Hi, I have road layer with several pieces of geometry. is there any way to display like a unique polygon? I mean like a merged geometry? I'm able to do it only making a duplicate and assigning "Inverted polygons" with "merge polygons before render" option. Thank you.

Re: [Qgis-user] Selecting Multiple Layers in a Single Click

2021-08-23 Thread Mike Flannigan
Thank you.  The Manage Map Themes is exactly what I was looking for.  That is going to save me quite a bit of time. Mike On 8/23/21 3:04 AM, qgis-user-requ...@lists.osgeo.org wrote: Date: Mon, 23 Aug 2021 10:02:07 +0200 From: Charles Dixon-Paver To: Mike Flannigan

Re: [Qgis-user] Default line width when importing data

2021-08-23 Thread David Strip
On Mon, 23 Aug 2021 at 02:27, Johanna Botman wrote: The default is 0.26. I don’t know what unit of measurement that is, and it doesn’t really matter. I would just like to be able to

Re: [Qgis-user] Python for qgis

2021-08-23 Thread Tudorache, Marian
This is a nice tutorial and they have a section about Python Programming in QGIS https://www.qgistutorials.com/en/ https://www.qgistutorials.com/en/docs/getting_started_with_pyqgis.html Books: https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/index.html

[Qgis-user] QGIS slow performance with PostgreSQL/PostGIS

2021-08-23 Thread Morten Storm
I send the question below on Friday, but due to my email address not being updated, it apparently got rejected by the list. I have now updated my email address information and hope that this will be accepted: -- We experience slow performance in QGIS

Re: [QGIS-it-user] Installazione Plugins QGIS

2021-08-23 Thread Andrea Giudiceandrea
Il 23/08/2021 09:38, Stefano Campus ha scritto: Ciao Silvia, non vorrei sbagliare ma credo debba installare il plugin Google earth engine, avere ovviamente un account e poi le dipendenze sono ristabilite. Sì, infatti, anche secondo me questa è la procedura corretta. A presto. Andrea

[Qgis-user] Zonalstatistics

2021-08-23 Thread Wim Schmidt
I used the raster analysing tool zonalstatisticsfb in the batch mode the last few years with success. But is has now been changed and an extra possibility for the way to compose the output is added. Earlier all the results were appended to one output file but now when you get for all the

[QGIS-it-user] ordine elenco plugin

2021-08-23 Thread Stefano Campus
salute! lo avrò chiesto un milione di volte ma non ne cavo piedi... come faccio a mettere in ordine di pubblicazione/aggiornamento l'elenco dei plugin? cliccando sul pulsante di destra del mouse effettivamente c'è l'opzione ordina per data di aggiornamento, ma rimangono in ordine alfabetico...

Re: [Qgis-user] Selecting Multiple Layers in a Single Click

2021-08-23 Thread Charles Dixon-Paver
In the table of contents, the manage map themes icon has a drop down menu with various options for layer visibility management [1]. In the processing tools interface, a toggle selection button is available which changes the selected layers "checked" status [2]. [1] https://imgur.com/a/jS7roE7

Re: [Qgis-user] Default line width when importing data

2021-08-23 Thread Charles Dixon-Paver
In the project properties you can configure your default styles for the various geometry and data types using style definitions from the style manager. These styles are stored in the symbology-style.db which is specific to each user profile. You can then save your configured project into the user

Re: [QGIS-it-user] Installazione Plugins QGIS

2021-08-23 Thread Silvia Franceschi
Grazie Stefano, allora ci provo, installo il plugin di GE in QGIS e poi vedo come fare un account... GRAZIE a TUTTI!! Silvia On Mon, Aug 23, 2021 at 9:38 AM Stefano Campus wrote: > > Ciao Silvia, non vorrei sbagliare ma credo debba installare il plugin Google > earth engine, avere ovviamente

Re: [QGIS-it-user] Installazione Plugins QGIS

2021-08-23 Thread Stefano Campus
Ciao Silvia, non vorrei sbagliare ma credo debba installare il plugin Google earth engine, avere ovviamente un account e poi le dipendenze sono ristabilite. s. Il lun 23 ago 2021, 07:51 Silvia Franceschi ha scritto: > Ciao a tutti, > posso chiedere se c'è qualcuno che saprebbe come risolvere

Re: [QGIS-it-user] Installazione Plugins QGIS

2021-08-23 Thread matteo
Il modulo che lui sta cercando ma non trova è scritto qui: ModuleNotFoundError: No module named 'ee' quindi devi riuscire a installare il modulo corretto: magari con il tuo sistema ibrido lo hai installato ma dove QGIS non riesce a caricarlo Matteo

Re: [QGIS-it-user] Installazione Plugins QGIS

2021-08-23 Thread Silvia Franceschi
Grazie mille Matteo, gentilissimo e velocissimo! :-) Io ho un sistema ibrido ovvero windows su iOS però uso pip e lo ho installato. Riavviando QGIS però ho ancora questo messaggio: ModuleNotFoundError: No module named 'ee' Traceback (most recent call last): File

Re: [Qgis-user] Length of lines in polygon depending on attribute

2021-08-23 Thread Roland Spielhofer
Hi, I tried measure='1' and serveral variations including ' and ", but none of them returns other than NULL.   measure is an integer field, so measure=1 in SQL would be ok, I guess.   Regards, Roland       Gesendet: Freitag, 20. August 2021 um 11:48 Uhr Von: "Phil Wyatt" An: "'Roland

Re: [QGIS-it-user] Installazione Plugins QGIS

2021-08-23 Thread matteo
Ciao Silvia, il plugin ha bisogno di una libreria python che devi installare separatamente perché non presente nell'installer di QGIS. A seconda del sistema operativo che usi, devi seguire la procedura indicata: Se Linux (e penso OSX), apri un terminale e digita: pip install earthengine-api