Opened 13 years ago

Closed 13 years ago

#3161 closed enhancement (fixed)

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.
  1. Added an option -progress that will present unobtrusive feedback on the progress. It counts down the number of files left to merge.
  1. 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 (2)

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

Download all attachments as: .zip

Change History (4)

by pedera, 13 years ago

Attachment: gdal_merge_diff.txt added

by pedera, 13 years ago

Attachment: gdal_merge.py added

comment:1 by warmerdam, 13 years ago

Cc: warmerdam added
Milestone: 1.7.0
Owner: changed from warmerdam@… to chaitanya

Chaitanya,

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

comment:2 by chaitanya, 13 years ago

Resolution: fixed
Status: newclosed

Applied the patch in trunk (r18412)

Note: See TracTickets for help on using tickets.