Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load QGIS project from command line from a PostgreSQL project #47270

Closed
ThomasG77 opened this issue Feb 9, 2022 · 0 comments · Fixed by #47272
Closed

Load QGIS project from command line from a PostgreSQL project #47270

ThomasG77 opened this issue Feb 9, 2022 · 0 comments · Fixed by #47272
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Project

Comments

@ThomasG77
Copy link
Contributor

ThomasG77 commented Feb 9, 2022

Feature description

Currently, specifying a postgresql reference from qgis command line option --project does not seem to work

C:\OSGeo4W\bin\qgis-bin.exe --project "postgresql://tc_exemple:xxxxx@172.27.xx.xx:5432&sslmode=disable&dbname=tc_exemple&schema=public&project=defaut"

Any possibility to support it?

Behaviour happens at https://github.com/qgis/QGIS/blob/master/src/app/main.cpp#L713 and https://github.com/qgis/QGIS/blob/master/src/app/main.cpp#L1414

Additional context

Feature request due to question on https://georezo.net/forum/viewtopic.php?pid=350113#p350113 (French)

@elpaso elpaso added Bug Either a bug report, or a bug fix. Let's hope for the latter! and removed Feature Request labels Feb 9, 2022
elpaso added a commit to elpaso/QGIS that referenced this issue Feb 9, 2022
@gioman gioman added the Project label Feb 9, 2022
nyalldawson pushed a commit that referenced this issue Feb 13, 2022
nyalldawson pushed a commit that referenced this issue Feb 14, 2022
nyalldawson pushed a commit that referenced this issue Feb 20, 2022
nyalldawson pushed a commit that referenced this issue Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants