[gdal-dev] Adding input format (-if) option for gdalmdiminfo and gdalmdimtranslate?

Even Rouault even.rouault at spatialys.com
Tue Sep 8 08:55:32 PDT 2020


On mardi 8 septembre 2020 09:27:19 CEST H. Joe Lee wrote:
> Hi,
> 
>   I can see that -if option is being [1] added to GDAL utilities, which is
> great for reading CF-compliant HDF5 as netCDF-4 and vice versa.
> 
>   Do you know how much effort is needed to apply the same -if option to
> gdalmdiminfo and gdalmdimtranslate?
>   Is adding the -if option in the current plan for next release?

Joe,

this shouldn't be too hard to do if you want to tackle that and submit a pull request.
You can take inspiration from
https://github.com/OSGeo/gdal/commit/1c7b950fc8754f6ba1d027f031886063675d2927
which added support for -if in gdalinfo, etc.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200908/2515630b/attachment.html>


More information about the gdal-dev mailing list