Opened 11 years ago

Closed 11 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 11 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by bkg, 11 years ago

Version: unspecifiedsvn-trunk

comment:2 by Even Rouault, 11 years ago

Milestone: 1.10.0
Resolution: fixed
Status: newclosed

Applied in trunk in r25555. Thanks

Note: See TracTickets for help on using tickets.