[gdal-dev] strange error

Terry Rankine terry.rankine at csiro.au
Mon Jan 28 22:11:28 PST 2013


Hi Guys

I miss-spelt an arguement (-dstnodat - its missing the a off the end) and
the command line arg processing was not informative about the error, kept
telling me I had the wrong type of resampling.

-bash-3.2$ gdalwarp --version
GDAL 1.9.2, released 2012/10/08


-bash-3.2$ gdalwarp -of ERS -s_srs "+proj=latlong +datum=GDA94" -t_srs
"+proj=latlong +datum=WGS84" -r cubic
/projects/r17/GA/GSWA_P1236_Charnley_ppmug.ers
/projects/p36/GA/GSWA_P1236_Charnley_ppmug.warp.ers -dstnodat -99999
Usage: gdalwarp [--help-general] [--formats]
    [-s_srs srs_def] [-t_srs srs_def] [-to "NAME=VALUE"]
    [-order n | -tps | -rpc | -geoloc] [-et err_threshold]
    [-refine_gcps tolerance [minimum_gcps]]
    [-te xmin ymin xmax ymax] [-tr xres yres] [-tap] [-ts width height]
    [-wo "NAME=VALUE"] [-ot Byte/Int16/...] [-wt Byte/Int16]
    [-srcnodata "value [value...]"] [-dstnodata "value [value...]"]
-dstalpha
    [-r resampling_method] [-wm memory_in_mb] [-multi] [-q]
    [-cutline datasource] [-cl layer] [-cwhere expression]
    [-csql statement] [-cblend dist_in_pixels] [-crop_to_cutline]
    [-of format] [-co "NAME=VALUE"]* [-overwrite]
    srcfile* dstfile

Available resampling methods:
    near (default), bilinear, cubic, cubicspline, lanczos.




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/strange-error-tp5030459.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list