[Qgis-user] Save all layers Priority

2022-08-08 Thread Sajjad Hassany Pazoky via Qgis-user
Hi,

I wanted to know that the order in which the layers are saved to the
databse (Postgis) when pushing the button "Save All Layers".
Or, is there a way to customize the order?

Regards
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] uninstall WIN 10

2022-08-08 Thread pete kroopnick via Qgis-user
How do I uninstall osgeo4w, and all the subprograms under windows 10?
Thanks, Pete
 
Peter Kroopnick, PhD
Chair, CWAG Science Committee
928-227-0223
www.cwagaz.org
 


-- 
This email has been checked for viruses by AVG antivirus software.
www.avg.com___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Determine version of QGIS Server

2022-08-08 Thread Etienne Trimaille via Qgis-user
Le jeu. 4 août 2022 à 11:34, Inka Tauber via Qgis-user <
qgis-user@lists.osgeo.org> a écrit :

> Has there some configuration to be done to put QGIS Server info into
> http-header?
>

In the ticket, it was using Nginx.
But anyway, you don't need that anymore, indeed the "qgis_mapserv.fcgi
--version" is way better now ;-)

Regards


>
>
> Regards,
>
> Inka
>
>
>
>
>
> *Von:* Stefan Giese (WhereGroup) [mailto:stefan.gi...@wheregroup.com]
> *Gesendet:* Donnerstag, 4. August 2022 09:37
> *An:* qgis-user@lists.osgeo.org; (LUNG GUE, 120-1) Tauber, I. <
> inka.tau...@lung.mv-regierung.de>
> *Betreff:* Re: [Qgis-user] Determine version of QGIS Server
>
>
>
> see
> https://github.com/3liz/lizmap-web-client/issues/1346#issuecomment-547895968
>
> Am 04.08.2022 um 09:32 schrieb Inka Tauber via Qgis-user:
>
> Hello,
>
>
>
> how can the version of QGIS Server (qgis_mapserv.fcgi) be determined?
>
>
>
> Thanks,
>
> Inka
>
>
>
>
>
>
>
>
> Allgemeine Datenschutzinformation:
> Der telefonische, schriftliche oder elektronische Kontakt mit dem
> Ministerium für Klimaschutz, Landwirtschaft, ländliche Räume und Umwelt
> Mecklenburg-Vorpommern ist mit der Speicherung und Verarbeitung der von
> Ihnen ggf. mitgeteilten persönlichen Daten verbunden. Rechtsgrundlage
> hierfür ist Art. 6 Absatz 1 Buchstabe e der Datenschutzgrundverordnung
> (DSGVO) der Europäischen Union in Verbindung mit § 4 Abs. 1
> Landesdatenschutzgesetz (DSG M-V).
> Weitere Informationen erhalten Sie hier:
> https://www.regierung-mv.de/Datenschutz
>
> ___
>
> Qgis-user mailing list
>
> Qgis-user@lists.osgeo.org
>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> --
>
> Mit freundlichen Grüßen
>
> Stefan Giese
>
> Projektleiter/Consultant
>
> -
>
> Aufwind durch Wissen!
>
> Jetzt neu: Web-Seminare und Online-Schulungen
>
> bei der www.foss-academy.com
>
> -
>
> WhereGroup GmbH
>
> Schwimmbadstr. 2
>
> 79100 Freiburg
>
> Germany
>
>
>
> Tel.: +49 (0)761 / 519 102 - 61
>
> Fax: +49 (0)761 / 519 102 - 11
>
>
>
> stefan.gi...@wheregroup.com
>
> www.wheregroup.com
>
> Geschäftsführer:
>
> Olaf Knopp, Peter Stamm
>
> Amtsgericht Bonn, HRB 9885
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] passing parameters to QGIS Python-Script started via Command Line

2022-08-08 Thread Bo Victor Thomsen via Qgis-user
Try to look up "|QGIS Processing Executor|", 
https://docs.qgis.org/3.22/en/docs/user_manual/processing/standalone.html


Med venlig hilsen / Kind regards

Bo Victor Thomsen

Den 08-08-2022 kl. 15:47 skrev Drexel Peter via Qgis-user:


Hi everyone,

My goal: I want to open QGIS using the Command-Line, load a specific 
project, select specific features and zoom to the selected features.


What sounds rather difficult is actually mostly solvable using the 
following:


"C:\Program Files\QGIS 3.16\bin\qgis-ltr-bin.exe" -p 
"d:\standardebenen.qgs" --code myscript.py


This opens QGIS with the Project d:\standardebenen.qgs and after that 
it runs the script “myscript.py”.


Within the scrip I can do everything what I can do in a Python-script, 
so there I can select some features in a layer and show that selection.


But this selections are “hard-coded” in the script, I cannot pass over 
these parameters to the myscript.py.


In “Pure Python” I can pass parameters to a Python Script using 
“python myscript.py arg1 arg2 arg3”.


This seems to be not working in the QGIS-Command-Line  as the 
parameters are interpreted as “layers to load”.


Am I right with my analysis?

One workaround is to write the parameters to al file and use this file 
within the myscript.py to define the selections. But this is very unhandy…


Are there any ideas from any QGIS-Expert to solve my problem?

If this cannot be solved in the current version of QGIS is one of the 
developers willing to get in contact with me to make an offer the 
implement this feature ?


Thanks

Peter


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [QGIS-Developer] passing parameters to QGIS Python-Script started via Command Line

2022-08-08 Thread Ujaval Gandhi via Qgis-user
One option is to set env variables before launching the qgis command. The env
variables can be read from python.


set QGIS_MESSAGE=Helllo World




Then your myscript.py can be something like


from qgis.utils import iface
import os

message = os.environ['QGIS_MESSAGE']
iface.messageBar().pushMessage(message)





---
Ujaval Gandhi
Spatial Thoughts
www.spatialthoughts.com [http://www.spatialthoughts.com]




[data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAQABAAACAkQBADs=3D]
On Mon, Aug 8, 2022 at 7:52 PM Matthias Kuhn via QGIS-Developer
 wrote:

> Hi Peter,
> 
> 
> You are correct with the analysis of the situation.
> 
> 
> Even if `qgis --help` states the following:
>  [--] treat all following arguments as FILEs
> 
> 
> it does in fact already interpret parameters as files before the `--`
> parameter.
> Changing this behavior is risky (it will break many startup scripts out there)
> and can be considered for QGIS 4.
> For now, we could add another marker as a band aid, e.g. we add a `--ex`
> (extra-parameters) that indicates that any parameters that follow should NOT
> be interpreted as files:
> 
> 
> 
>     qgis -p 1234.qgs --code script.py [files could be here] --ex
> --myparam=1324 -- [more files can still be here]
> 
> 
> If that sounds like what you are looking for, we are happy to help you with
> that
> 
> 
> Best regards
> Matthias
> 
> On Mon, Aug 8, 2022 at 3:55 PM Drexel Peter via QGIS-Developer
>  wrote:
> 
> 
> > Hi everyone,
> > 
> > My goal: I want to open QGIS using the Command-Line, load a specific
> > project, select specific features and zoom to the selected features.
> > 
> > What sounds rather difficult is actually mostly solvable using the
> > following:
> > 
> > "C:\Program Files\QGIS 3.16\bin\qgis-ltr-bin.exe" -p "d:\standardebenen.qgs"
> > --code myscript.py
> > 
> >  
> > 
> > This opens QGIS with the Project d:\standardebenen.qgs and after that it
> > runs the script “myscript.py”.
> > 
> > Within the scrip I can do everything what I can do in a Python-script, so
> > there I can select some features in a layer and show that selection.
> > 
> > But this selections are “hard-coded” in the script, I cannot pass over these
> > parameters to the myscript.py.
> > 
> > In “Pure Python” I can pass parameters to a Python Script using “python
> > myscript.py arg1 arg2 arg3”.
> > 
> > This seems to be not working in the QGIS-Command-Line  as the parameters are
> > interpreted as “layers to load”.
> > 
> > Am I right with my analysis?
> > 
> > One workaround is to write the parameters to al file and use this file
> > within the myscript.py to define the selections. But this is very unhandy…
> > 
> > Are there any ideas from any QGIS-Expert to solve my problem?
> > 
> >  
> > 
> > If this cannot be solved in the current version of QGIS is one of the
> > developers willing to get in contact with me to make an offer the implement
> > this feature ?
> > 
> > Thanks
> > 
> > Peter
> > 
> > ___
> > QGIS-Developer mailing list
> > qgis-develo...@lists.osgeo.org [qgis-develo...@lists.osgeo.org]
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > [https://lists.osgeo.org/mailman/listinfo/qgis-developer]
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > [https://lists.osgeo.org/mailman/listinfo/qgis-developer]
> 
> 
> https://qfield.org/get/
> [https://ci4.googleusercontent.com/proxy/GqvhkBbIsDNWtqe2HThZLEElIli5211Hog29CYort7mWquajzTRIucqyquJ4nK_KuFTbuEa2CCNNIfLx52nBCCQkb6EWyBAfIjM_iV06dJPuBZpmAolhpdzysf0=s0-d-e1-ft#https://www.opengis.ch/wp-content/uploads/2022/04/Qfield_Banner_email.png]
> [https://qfield.org/get/]
> 
> QFIELD 2.0 IS HERE! - Hold the power of QGIS in your hand - learn more
> [https://www.opengis.ch/2022/04/05/qfield-2-0-is-here/] - get it now
> [https://qfield.org/get]
> 
> ___
> QGIS-Developer mailing list
> qgis-develo...@lists.osgeo.org [qgis-develo...@lists.osgeo.org]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> [https://lists.osgeo.org/mailman/listinfo/qgis-developer]
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> [https://lists.osgeo.org/mailman/listinfo/qgis-developer]___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] passing parameters to QGIS Python-Script started via Command Line

2022-08-08 Thread Drexel Peter via Qgis-user
Hi everyone,
My goal: I want to open QGIS using the Command-Line, load a specific project, 
select specific features and zoom to the selected features.
What sounds rather difficult is actually mostly solvable using the following:
"C:\Program Files\QGIS 3.16\bin\qgis-ltr-bin.exe" -p "d:\standardebenen.qgs" 
--code myscript.py

This opens QGIS with the Project d:\standardebenen.qgs and after that it runs 
the script "myscript.py".
Within the scrip I can do everything what I can do in a Python-script, so there 
I can select some features in a layer and show that selection.
But this selections are "hard-coded" in the script, I cannot pass over these 
parameters to the myscript.py.
In "Pure Python" I can pass parameters to a Python Script using "python 
myscript.py arg1 arg2 arg3".
This seems to be not working in the QGIS-Command-Line  as the parameters are 
interpreted as "layers to load".
Am I right with my analysis?
One workaround is to write the parameters to al file and use this file within 
the myscript.py to define the selections. But this is very unhandy...
Are there any ideas from any QGIS-Expert to solve my problem?

If this cannot be solved in the current version of QGIS is one of the 
developers willing to get in contact with me to make an offer the implement 
this feature ?
Thanks
Peter
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] "QGIS" can't be opened because Apple....

2022-08-08 Thread John Layt via Qgis-user
Hi David,

You need to right-click on the QGIS app and choose Open. Then it will show
another warning, but this time will give you the option to Open the app,
after which it will not ask again.

Side-note for the list: I thought the QGIS board had approved buying a
certificate from Apple to solve this?

Cheers!

John.


On Mon, 8 Aug 2022 at 10:13, David via Qgis-user 
wrote:

> Hi,
>
> I am unable to open QGIS on my Mac. I receive the following message:
>
> “QGIS” can’t be opened because Apple cannot check it for malicious
> software.
> This software needs to be updated. Contact the developer for more
> information.”
>
> I have tried to open both QGIS 3.22 and 3.26 without success.
>
> I am using the latest macOS Monterey 12.5
>
> please can you help me get around this issue.
>
> Kind regards,
>
> David Lazarus
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] "QGIS" can't be opened because Apple....

2022-08-08 Thread David via Qgis-user
Hi,

I am unable to open QGIS on my Mac. I receive the following message:

“QGIS” can’t be opened because Apple cannot check it for malicious software.
This software needs to be updated. Contact the developer for more information.”

I have tried to open both QGIS 3.22 and 3.26 without success.

I am using the latest macOS Monterey 12.5

please can you help me get around this issue.

Kind regards,

David Lazarus
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS and geopackages in sharepoint environement

2022-08-08 Thread John Layt via Qgis-user
Hi,

We use Google Drive on Macs for shapefile and GeoPackages. The first thing
we always tell our users is to set the files to Available Offline, so all
reads/writes are local before being synced up to the cloud. That reduces
issues, but all the obvious ones around file corruption and overwriting
still apply. As mentioned, GDAL/QGIS did use to always write the lockfile
inside whenever anyone opened a geopackage, which would cause the file to
sync back to the cloud and flood your bandwidth, which is a real pain. That
has changed, but it doesn't solve the multiple-users overwriting issue
though. My long-term solution was going to be building a proper geospatial
infrastructure with MerginMaps and PostGIS so people 'check-out' the
geopackages they needed, then merged them back in. Sadly we've just been
sold to an ESRI-using company, so that will never happen, however they do
use Sharepoint so maybe I'll find out if that's any better than Drive in my
near future.

Cheers!

John.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user