Ticket #3161 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

Enhancements proposal for gdal_merge.py

Reported by: pedera Owned by: chaitanya
Priority: normal Milestone: 1.7.0
Component: Utilities Version: svn-trunk
Severity: normal Keywords: python module, progress option, version info
Cc: warmerdam

Description

1. Made gdal_merge into a module: it can be imported and executed directly from python code. It can still be used as a command line, of course.

2. Added an option -progress that will present unobtrusive feedback on the progress. It counts down the number of files left to merge.

3. Added a global version variable, now that gdal_merge also is a library. The value should be set by the versioning system using '$id$'[5:-1], maybe this should be done differently?

Attachments

gdal_merge_diff.txt Download (3.1 KB) - added by pedera 4 years ago.
gdal_merge.py Download (15.4 KB) - added by pedera 4 years ago.

Change History

Changed 4 years ago by pedera

Changed 4 years ago by pedera

Changed 4 years ago by warmerdam

  • cc warmerdam added
  • owner changed from warmerdam@… to chaitanya
  • milestone set to 1.7.0

Chaitanya,

Could you review, and if appropriate incorporate the provided changes in trunk? I do not believe they are appropriate for 1.6 branch.

Changed 3 years ago by chaitanya

  • status changed from new to closed
  • resolution set to fixed

Applied the patch in trunk (r18412)

Note: See TracTickets for help on using tickets.