Opened 11 years ago

Closed 11 years ago

#4059 closed enhancement (fixed) stacking does not work for multi band inputs.

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone:
Component: Utilities Version: unspecified
Severity: normal Keywords: gdal_merge


Dear Frank,

I just realized (again) that -separate does not stack multi-band images. Is there a specific reason for that? If not, it would be create to have that feature inserted in the script.

For the task at hand, I hacked the code a bit and now the script seems to do the job. Pleases see the attachment for the changes I made.

I have no whatsoever background in python. Therefore, maybe better to check that I didn't do anything stupid and rewrite the changes parts in a more elegant way.

Thanks for all the great work you've done with the GDAL/OGR!



Attachments (1) (16.0 KB ) - added by warmerdam 11 years ago.

Download all attachments as: .zip

Change History (2)

by warmerdam, 11 years ago

Attachment: added

comment:1 by warmerdam, 11 years ago

Resolution: fixed
Status: newclosed

Changes applied in trunk (r22291).

Note: See TracTickets for help on using tickets.