Er lijkt wel iets aan de hand met variabelen of met afhankelijkheden.
Bovenstaande fouten ontstaan dus wanneer ik de terminal open vanuit mijn meest recente QGIS versie (3.40.14)
Browser panel, rechtsklik op een map met data en kies Open in Terminal.
Bij deze werkwijze heb ik meteen de beschikking over gdal commando’s.
Wanneer ik direct een terminal open in Windows (Opdrachtprompt) moet ik eerst een set path doen voordat ik gdal commando’s kan gebruiken.
De set path verwijst naar de bin directory van de meest recente GIS versie:
C:\Program Files\QGIS 3.40.14\bin
Wanneer ik op deze tweede manier de WFS data ophaal lukt het wel,
maar krijg ik allemaal andere foutmeldingen rondom proj. en heeft de data die uiteindelijk in de geopackage komt ook geen CRS meegekregen (kan dat te maken hebben met de proj errors?).
ERROR 1: PROJ: proj_create_from_database: C:\Program Files\PostgreSQL\15\share\contrib\postgis-3.4\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 6 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_create_from_database: C:\Program Files\PostgreSQL\15\share\contrib\postgis-3.4\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 6 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_create_from_database: C:\Program Files\PostgreSQL\15\share\contrib\postgis-3.4\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 6 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_create_from_database: C:\Program Files\PostgreSQL\15\share\contrib\postgis-3.4\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 6 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_create_from_database: C:\Program Files\PostgreSQL\15\share\contrib\postgis-3.4\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 6 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_create_from_database: C:\Program Files\PostgreSQL\15\share\contrib\postgis-3.4\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 6 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_create: no database context specified
ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/5482
ERROR 1: PROJ: proj_create: no database context specified
ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/5936
ERROR 1: PROJ: proj_create: no database context specified
ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/3978
ERROR 1: PROJ: proj_create: no database context specified
ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/2193
ERROR 1: PROJ: proj_create_from_database: C:\Program Files\PostgreSQL\15\share\contrib\postgis-3.4\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 6 is expected. It comes from another PROJ installation.
Deze meldingen krijg ik dus niet wanneer ik de terminal open vanuit QGIS.
Ik vraag me op basis van deze meldingen dan weer af waarom er verwezen wordt naar een proj.db bestand in mijn PostgreSQL installatie.
Wanneer ik in deze terminal, dus met gebruik van de set path, het commando projinfo gebruik, krijg ik een deprecation warning:
DeprecationWarning: PROJ_LIB environment variable is deprecated, and will be removed in a future release. You are encouraged to set PROJ_DATA instead.
Rel. 9.7.1, December 1st, 2025
en als ik projinfo doe in de terminal die ik via QGIS open krijg ik die warning niet:
Rel. 9.7.1, December 1st, 2025
Er lijkt dus wel iets aan de hand te zijn met afhankelijkheden… maar waar te beginnen?