[mapserver-users] GetFeatureInfo and HDF5

Espen.Messel at ffi.no Espen.Messel at ffi.no
Mon Feb 16 01:55:38 EST 2009


Hi all..

 

I'm having problems with HDF5 raster files and GetFeatureInfo with
MapServer. 

 

When trying to get some pixel data out, I always get the Empty template
from the WEB section. 

Is it some special way to handle HDF5 files?

When I use gdal_translate and convert the file into GTiff and change the
DATA line in my mapfile everything works fine. 

 

I probably get 100 HDF5 images an hour, so I hope to use them without
converting them into geotiffs.

 

Regards,

 

Espen Messel

 

MAPFILE:

 

LAYER

   NAME "radar"

   TYPE RASTER

   DUMP TRUE

   STATUS OFF

   DATA 'HDF5:"/tmp/data/aeqd-1000.hdf"://image1/data' 

#   DATA test.tif

 

   HEADER                   "/etc/templates/header.html"

   FOOTER                   "/etc/templates/footer.html"

   TEMPLATE                "/etc/templates/radar.html"

   TOLERANCE             10

   TOLERANCEUNITS    miles

   OPACITY 90

 

   PROJECTION

            "init=epsg:4326"

   END

 

   INCLUDE "radar_metadata.map"

   INCLUDE "radar_color.map"

END

 

----------------------------------------------------------------------

Espen Messel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090216/46aaec06/attachment.html


More information about the mapserver-users mailing list