Re: [gdal-dev] adding metadata -mo in a domain?

2023-09-19 Thread Michael Sumner
Thanks Even, could add a AttachDomainMetadata here that expected "-dmo DOMAIN:META-TAG=VALUE" https://github.com/OSGeo/gdal/blob/a4b57c22606be2258196a933d310f301e3ece93f/apps/gdal_translate_lib.cpp#L2625 I'll try that, or is it too much over-reach? Ultimately it's for vrt:// con so could do v

Re: [gdal-dev] adding metadata -mo in a domain?

2023-09-19 Thread Even Rouault
Not from cli. From the API, it is dataset.SetMetadataItem(key, value, domain) Le 20/09/2023 à 02:14, Michael Sumner a écrit : When we add metadata with -mo can we somehow specify the DOMAIN it would be added to, or be instantiated with? gdal_translate gcore/data/float32.tif /tmp/add_md.vrt -m

[gdal-dev] adding metadata -mo in a domain?

2023-09-19 Thread Michael Sumner
When we add metadata with -mo can we somehow specify the DOMAIN it would be added to, or be instantiated with? gdal_translate gcore/data/float32.tif /tmp/add_md.vrt -mo PHONY=important I would like to tweak that so that the item was in a new domain, i.e. Area BAND

Re: [gdal-dev] Call for discussion/review of RFC95: Use standard C/C++ integer types

2023-09-19 Thread Even Rouault
No other reaction ? Are people comfortable with bumping to 4.0 ? If so, no opinion on what we should slip in while we are it (thinking more about breaking changes than new features, which generally can be added afterwards) ? Le 16/09/2023 à 14:53, Even Rouault a écrit : About GDAL 4.0 vs 3.8