Opened 13 years ago
Closed 13 years ago
#4059 closed enhancement (fixed)
gdal_merge.py 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 |
Cc: |
Description
Dear Frank,
I just realized (again) that gdal_merge.py -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!
Regards,
Anssi
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | gdal_merge_multiband.py added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Changes applied in trunk (r22291).