Opened 7 years ago

Closed 7 years ago

#4964 closed enhancement (fixed)

Add creation options flag to gdal_calc.py

Reported by: bkg Owned by: hobu
Priority: normal Milestone: 1.10.0
Component: PythonBindings Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

This patch adds creation options support to the gdal_calc.py script. Options can be passed using --creation-option or --co. It would have been preferable to use -co instead in keeping with the convention of most utilities, but OptionParser? only allows for single character short flags. Argparse does support this use, but is only available in the standard library for Python 2.7 and up.

Attachments (1)

gdal_calc_add_createopts.patch (2.4 KB) - added by bkg 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by bkg

comment:1 Changed 7 years ago by bkg

Version: unspecifiedsvn-trunk

comment:2 Changed 7 years ago by Even Rouault

Milestone: 1.10.0
Resolution: fixed
Status: newclosed

Applied in trunk in r25555. Thanks

Note: See TracTickets for help on using tickets.