I am following the below tutorial to install GDAL: https://sandbox.idre.ucla.edu/sandbox/tutorials/installing-gdal-for-windows after failing to install through the OSGEO4W setup, I have updated my environments and when typing in gdalinfo in the command prompt I get the following:

Usage: gdalinfo [--help-general] [-json] [-mm] [-stats] [-hist] [-nogcp] [-nomd]
                [-norat] [-noct] [-nofl] [-checksum] [-proj4]
                [-listmdd] [-mdd domain|`all`] [-wkt_format WKT1|WKT2|...]*
                [-sd subdataset] [-oo NAME=VALUE]* datasetname

FAILURE: No datasource specified.

When I type in gdaltranslator I get the following:

'gdaltranslator' is not recognized as an internal or external command,
operable program or batch file.
  • are you trying for gdal_translate?
    – Ian Turton
    Aug 3 at 14:53
  • I am trying to eventually configure GeoNode Aug 3 at 14:55
  • 1
    There is no program gdaltranslator (AFAIK) but there is one called gdal_translate - your gdalinfo response looks good to me. Try gdalinfo --formats to be sure
    – Ian Turton
    Aug 3 at 15:26
  • 1
    Use the command literally as Ian wrote it gdalinfo --formats. There is no program named "gdal" but "gdalinfo" does exists. Another exercise for you is to try gdalinfo --version.
    – user30184
    Aug 3 at 17:18
  • 1
    The same procedure is in this site (gis.stackexchange.com) in following link: gis.stackexchange.com/questions/44958/… . If you launch IDLE (Python GUI) and type from osgeo import gdal [Enter] without any error, you have installed GDAL. If not, you have to repeat the process until to find out where the problem is.
    – xunilk
    Aug 3 at 17:29

The installation is ok.
gdalinfo tool needs a datasetname parameter at least, e.g gdalinfo some_raster.tif to get the information from some_raster.tif.
gdaltranslator is not the name of any tool provided by GDAL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.