From trac_osgeo4w at osgeo.org Mon Oct 5 12:35:08 2026 From: trac_osgeo4w at osgeo.org (OSGeo4W) Date: Mon, 05 Oct 2026 19:35:08 -0000 Subject: [osgeo4w-dev] [osgeo4w] #933: OSGeo4W installing inconsistent proj files Message-ID: <046.db42d64cd442e9f22c16c0c5a84a2ab7@osgeo.org> #933: OSGeo4W installing inconsistent proj files -------------------+--------------------------- Reporter: thomr | Owner: osgeo4w-dev@? Type: defect | Status: new Priority: normal | Component: Package Version: | Keywords: proj -------------------+--------------------------- On Windows 11, after updating the OSGeo4W installation. Since then, some proj components seem to be inconsistent between them. As example, launching the OSGeoW shell : {{{ ogr2ogr -overwrite -f MSSQLSpatial "MSSQL:server=myServer;database=myDatabase;trustservercertificate=yes;trusted_connection=yes;driver={ODBC Driver 18 for SQL Server}" "G:\\myFile.shp" -a_srs "EPSG:4326" -lco "GEOM_TYPE=geography" -lco "LAUNDER=NO" --config MSSQLSPATIAL_USE_BCP FALSE }}} I get the following errors : {{{ ERROR 1: PROJ: proj_create_from_database: C:\OSGeo4W\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 4 is expected. It comes from another PROJ installation. ERROR 1: PROJ: proj_create_from_database: C:\OSGeo4W\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 4 is expected. It comes from another PROJ installation. ERROR 1: PROJ: proj_create_from_database: C:\OSGeo4W\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 4 is expected. It comes from another PROJ installation. ... ERROR 1: Failed to process SRS definition: EPSG:4326 }}} Workaround : Installing a standalone QGis version and using its shell works well. -- Ticket URL: OSGeo4W OSGeo4W is the Windows installer and package environment for the OSGeo stack.