[MS4W-Users] Is MapServer suppose to be able to serve hdf5 images?

TC Haddad tchaddad at gmail.com
Fri Mar 20 01:59:04 EDT 2020


Hi Andrew,

If you look at the gdal raster formats list:
https://gdal.org/drivers/raster/index.html, you will see that gdal supports
georeferencing of HDF5 format, but not creation of HDF5.

So the message that you got from Mapserver is correct - gdal cannot support
HDF5 output. The answer would be the same regardless of the version of
Mapserver...

Tanya



On Thu, Mar 19, 2020 at 11:00 AM andrew nguyen via MS4W-Users <
ms4w-users at lists.ms4w.com> wrote:

> I downloaded ms4w via the setup.exe and added the following to
> \ms4w\apps\local-demo\local.map to check if MapServer can serve hdf5 files:
>
> OUTPUTFORMAT
> NAME "HDF5"
> DRIVER GDAL/HDF5
> #MIMETYPE "image/hdf5"
> #IMAGEMODE RGB
> #EXTENSION "H5"
> END
>
> But I get the following error:
> loadOutputFormat(): General error message. OUTPUTFORMAT (HDF5) clause
> references driver (GDAL/HDF5), but this driver isn't configured.
> msInitGDALOutputFormat(): General error message. GDAL `HDF5' driver does
> not support output.
>
> Does this error message imply that GDAL/HDF5 isn't supported as an output
> image in MapServer?
>
>
> Kind Regards,
>
> Andrew
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.ms4w.com
> https://lists.ms4w.com/mailman/listinfo/ms4w-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/pipermail/ms4w-users/attachments/20200319/acfc1a6f/attachment.htm>


More information about the MS4W-Users mailing list