Skip to content

Commit

Permalink
gdalwarp help message: add missing -te_srs, -ct, -srcalpha and -nosrc…
Browse files Browse the repository at this point in the history
…alpha switches
  • Loading branch information
rouault committed Feb 7, 2023
1 parent 9d5a63f commit c51c827
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions apps/gdalwarp_bin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@ static void Usage(const char *pszErrorMsg = nullptr)
printf(
"Usage: gdalwarp [--help-general] [--formats]\n"
" [-b|-srcband n]* [-dstband n]*\n"
" [-s_srs srs_def] [-t_srs srs_def] [-to \"NAME=VALUE\"]* [-vshift "
"| -novshift]\n"
" [-s_srs srs_def] [-t_srs srs_def] [-ct string]\n"
" [-to \"NAME=VALUE\"]* [-vshift | -novshift]\n"
" [[-s_coord_epoch epoch] | [-t_coord_epoch epoch]]\n"
" [-order n | -tps | -rpc | -geoloc] [-et err_threshold]\n"
" [-refine_gcps tolerance [minimum_gcps]]\n"
" [-te xmin ymin xmax ymax] [-tr xres yres]|[-tr square] [-tap] "
"[-ts width "
"height]\n"
" [-te xmin ymin xmax ymax] [-te_srs srs_def]\n"
" [-tr xres yres]|[-tr square] [-tap] [-ts width height]\n"
" [-ovr level|AUTO|AUTO-n|NONE] [-wo \"NAME=VALUE\"] [-ot "
"Byte/Int16/...] [-wt Byte/Int16]\n"
" [-srcnodata \"value [value...]\"] [-dstnodata \"value "
"[value...]\"] -dstalpha\n"
" [-srcnodata \"value [value...]\"]"
"[-dstnodata \"value [value...]\"]\n"
" [-srcalpha|-nosrcalpha] [-dstalpha]\n"
" [-r resampling_method] [-wm memory_in_mb] [-multi] [-q]\n"
" [-cutline datasource] [-cl layer] [-cwhere expression]\n"
" [-csql statement] [-cblend dist_in_pixels] [-crop_to_cutline]\n"
Expand Down
3 changes: 2 additions & 1 deletion doc/source/programs/gdalwarp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Synopsis
gdalwarp [--help-general] [--formats]
[-b|-srcband n]* [-dstband n]*
[-s_srs srs_def] [-t_srs srs_def] [-ct string] [-to "NAME=VALUE"]* [-vshift | -novshift]
[-s_srs srs_def] [-t_srs srs_def] [-ct string]
[-to "NAME=VALUE"]* [-vshift | -novshift]
[[-s_coord_epoch epoch] | [-t_coord_epoch epoch]]
[-order n | -tps | -rpc | -geoloc] [-et err_threshold]
[-refine_gcps tolerance [minimum_gcps]]
Expand Down

0 comments on commit c51c827

Please sign in to comment.