[Gdal-dev] Correction to gdal_merge.py

Mario Beauchamp starged at videotron.ca
Sat Aug 21 20:20:14 EDT 2004


Hi all,

I noticed that the projection information was not written to the output file.

Looking at the code, it became evident why: there is no SetProjection().

So simply adding:

t_fh.SetProjection(file_infos[0].projection)

after line 404 does the trick.

Hope this is useful to someone :)
--
Mario B.



More information about the Gdal-dev mailing list