How to set the GDAL_DATA environment variable to point to the directory containing EPSG csv files?

后端 未结 5 704
故里飘歌
故里飘歌 2021-02-03 22:14

I want to wrap(re-project) one variable in this netcdf file.

D:\\ gdalwarp -t_srs EPSG:4326 NETCDF:"C:\\fie.nc":var "C:\\Desktop\\SM.img"
         


        
5条回答
  •  半阙折子戏
    2021-02-03 22:56

    You can also use the --config switch:

    D:\ gdalwarp --config GDAL_DATA "D:/my/gdal/data" -t_srs EPSG:4326 NETCDF:"path":Soil_Moisture "C:\Desktop\SM.img"
    

    See: http://trac.osgeo.org/gdal/wiki/ConfigOptions

    for information on config options.

提交回复
热议问题