[MS4W-Users] Is MapServer suppose to be able to serve hdf5 images?
andrew nguyen
andrewhongnguyen at gmail.com
Fri Mar 20 11:31:31 EDT 2020
Hi,
It looks like I misunderstood our requirements. Instead of outputting hdf5
files, we're trying to use Mapserver to serve a standard WMS png tile
output from reading 2D raster data from hdf5 files. We're looking for help
on 2 fronts:
1.
Understanding how to format the .map file to READ from the hdf and
OUTPUT standard WMS png tiles
2.
Understanding what geo-reference metadata we need to add to the hdf so
Mapserver->GDAL will be able to properly read the raster and geo-ref data
On Thu, Mar 19, 2020 at 11:57 PM andrew nguyen <andrewhongnguyen at gmail.com>
wrote:
> Hi Tanya,
>
> Thanks, I appreciate the quick reply.
>
> On Thu, Mar 19, 2020, 10:59 PM TC Haddad via MS4W-Users <
> ms4w-users at lists.ms4w.com> wrote:
>
>> 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
>>>
>> _______________________________________________
>> 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/20200320/b525994b/attachment-0001.htm>
More information about the MS4W-Users
mailing list