[Osgeo4w-trac] [osgeo4w] #830: Unattended installation error

OSGeo4W trac_osgeo4w at osgeo.org
Fri Apr 26 11:58:04 PDT 2024


#830: Unattended installation error
----------------------+----------------------------
Reporter:  gpsaliola  |       Owner:  osgeo4w-dev@…
    Type:  defect     |      Status:  new
Priority:  normal     |   Component:  Package
 Version:             |  Resolution:
Keywords:             |
----------------------+----------------------------
Description changed by gpsaliola:

Old description:

> Hello,
> I've a problem with `osgeo4w-setup.exe` evergreen installation since few
> days ago.
> I've installed with this command:
> {{{
> osgeo4w-setup.exe -q -A -a x86_64 -k -L -d -n -N -D -s
> https://download.osgeo.org/osgeo4w/v2 -C Commandline_Utilities -x shell
> -P gpsbabel-gui -P gdal -P proj
>
> }}}
>
> I obtain this when I use gdal_translate.exe utility.
> "missing lz4.dll".
>
> After I've installed with this command:
> {{{
> osgeo4w-setup.exe -q -A -a x86_64 -k -L -d -n -N -D -s
> https://download.osgeo.org/osgeo4w/v2 -C Commandline_Utilities -x shell
> -P gpsbabel-gui -P gdal -P lz4 -P proj
>
> }}}
>
> I obtains this error:
> {{{
> Warning 1: PROJ: proj_create_from_database: C:\OSGeo4W\share\proj\proj.db
> contains DATABASE.LAYOUT.VERSION.MINOR = 1 whereas a number >= 3 is
> expected. It comes from another PROJ installation.
> Warning 1: The definition of projected CRS EPSG:3857 got from GeoTIFF
> keys is not the same as the one from the EPSG registry, which may cause
> issues during reprojection operations. Set GTIFF_SRS_SOURCE configuration
> option to EPSG to use official parameters (overriding the ones from
> GeoTIFF keys), or to GEOKEYS to use custom values from GeoTIFF keys and
> drop the EPSG code.
> ERROR 1: PROJ: proj_create_from_database: C:\OSGeo4W\share\proj\proj.db
> contains DATABASE.LAYOUT.VERSION.MINOR = 1 whereas a number >= 3 is
> expected. It comes from another PROJ installation.
> ERROR 6: Cannot find coordinate operations from
> ENGCRS["unnamed",EDATUM["Unknown engineering
> datum"],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]'
> to +proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1
> +units=m +nadgrids=@null +wktext +no_defs +type=crs'
>
> }}}
>
> Please can somebody help me?
> Thank you
> Regards.

New description:

 Hello,
 I've a problem with `osgeo4w-setup.exe` evergreen installation since few
 days ago.
 I've installed with this command:
 {{{
 osgeo4w-setup.exe -q -A -a x86_64 -k -L -d -n -N -D -s
 https://download.osgeo.org/osgeo4w/v2 -C Commandline_Utilities -x shell -P
 gpsbabel-gui -P gdal -P proj

 }}}

 I obtain this when I use gdal_translate.exe utility.
 "missing lz4.dll".

 After I've installed with this command:
 {{{
 osgeo4w-setup.exe -q -A -a x86_64 -k -L -d -n -N -D -s
 https://download.osgeo.org/osgeo4w/v2 -C Commandline_Utilities -x shell -P
 gpsbabel-gui -P gdal -P lz4 -P proj

 }}}

 I obtains this error:
 {{{
 Warning 1: PROJ: proj_create_from_database: C:\OSGeo4W\share\proj\proj.db
 contains DATABASE.LAYOUT.VERSION.MINOR = 1 whereas a number >= 3 is
 expected. It comes from another PROJ installation.
 Warning 1: The definition of projected CRS EPSG:3857 got from GeoTIFF keys
 is not the same as the one from the EPSG registry, which may cause issues
 during reprojection operations. Set GTIFF_SRS_SOURCE configuration option
 to EPSG to use official parameters (overriding the ones from GeoTIFF
 keys), or to GEOKEYS to use custom values from GeoTIFF keys and drop the
 EPSG code.
 ERROR 1: PROJ: proj_create_from_database: C:\OSGeo4W\share\proj\proj.db
 contains DATABASE.LAYOUT.VERSION.MINOR = 1 whereas a number >= 3 is
 expected. It comes from another PROJ installation.
 ERROR 6: Cannot find coordinate operations from
 ENGCRS["unnamed",EDATUM["Unknown engineering
 datum"],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]'
 to +proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1
 +units=m +nadgrids=@null +wktext +no_defs +type=crs'

 }}}

 Please can somebody help me?
 Thank you
 Regards.


 After further investigation I noticed that the problem only exists in the
 first installation (folder c.\OSGeo4W doesn't exist).
 If you update a previous installation everything works.

--
-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/830#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list