[osgeo4w-dev] [osgeo4w] #933: OSGeo4W installing inconsistent proj files

OSGeo4W trac_osgeo4w at osgeo.org
Mon Oct 5 12:35:08 PDT 2026


#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: <https://trac.osgeo.org/osgeo4w/ticket/933>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list