[gdal-dev] Gdal_edit with -mo removes existing metadata

Jukka Rahkonen jukka.rahkonen at maanmittauslaitos.fi
Tue Jan 13 07:33:00 PST 2015


Hi,

I noticed that when I tried to add one TIFFTAG metadata item with
gdal_edit.py by using the -mo option it wrote my new metadata and wiped away
all the existing TIFFTAG metadata. For the desired result I had to give the
whole list of metadata tags with repeated -mo options. Is this intentional
behaviour? Could it be possible to change behaviour so that -mo adds or
overwrites just the given metadata item and keeps others untouched? Or to
keep the current way but introduce a new -add_mo option?

-Jukka Rahkonen-



More information about the gdal-dev mailing list