[Mapserver-users] in pursuit of an HDF example

Charlton Purvis cpurvis at asg.sc.edu
Thu Aug 7 16:18:52 EDT 2003


Hi, folks:

Anybody have an example of a .map incorporating an HDF?  Are they
treated the same as regular rasters?  I doubt it.  But I'm not having
much luck w/ a file that looks like:

$ gdalinfo 030708.1032.n12.hdf
Driver: HDF4Image/HDF4 Dataset
Size is 969, 1558
Coordinate System is `'
Origin = (0.000000,0.000000)
Pixel Size = (1.000000,1.000000)
Corner Coordinates:
Upper Left  (   0.0000000,   0.0000000) 
Lower Left  (       0.000,    1558.000) 
Upper Right (     969.000,       0.000) 
Lower Right (     969.000,    1558.000) 
Center      (     484.500,     779.000) 
Band 1 Block=969x1 Type=Byte, ColorInterp=Gray

I've tried a barebones .map w/ extents to match the corner coordinates
listed above, but no dice.

Unfortunately, I don't know enough about HDF to be dangerous, but does
MapServer (or GDAL) pull out georeferencing from the HDF and make a .wld
moot?  Or do I still need to create a .wld per HDF?  Haven't I also
heard that HDF's are capable of containing multiple rasters?

Thanks for your help.

Charlton

 
 
 
Charlton Purvis
(803) 777-8858 : voice
(803) 777-8833 : fax
cpurvis at sc.edu
 
Advanced Solutions Group
Department of Physics and Astronomy
University of South Carolina
Columbia, SC 29208




More information about the mapserver-users mailing list