Selon Jukka Rahkonen <[email protected]>:

> 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,

This wasn't intended as far as I recall. I've change -mo to add to existing
metadata, and added a -unsetmd option to be able to reset existing metdata (can
be combined with -mo to clean and replace)

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to