hmap is a utility that creates an XML mapping file for a given HDF4 file. A mapping file is an XML document that describes the file structure, file metadata, and offset/length of raw data in a HDF4 file. The mapping file can be used to retieve data from a HDF4 file without the HDF4 library.
Compile source code
To compile the source code, you will need to install the HDF4 library. change h4cc path in Makefile, e.g.- - Last modified: 13 February 2014CC=/usr/local/hdf4/bin/h4cc Run hmap ./hmap -h[elp] for help, OR ./hmap <infile> [<outfile>]]", e.g. "./hmap test.hdf"