[gdal-dev] hdf5 to esri shape-file converter

Steffen Macke sdteffen at gmail.com
Wed Jun 17 13:27:41 EDT 2009


Hi Chandra,

> [Chandra ] I have hdf files holding vector data only(basically
> longitude, latitude, speed etc).
> Do you think that it will easier now to convert it to shape files?

Most probably, because you can skip the Vectorization.
You could use CSV as an intermediate format:

* Create a CSV file using h5dump:

http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-Dump

* Convert the CSV file into a Shape file using ogr. The OGR CSV driver
page has some documentation on this:

http://www.gdal.org/ogr/drv_csv.html

I assume that this is only about point data.

Regards,

Steffen


More information about the gdal-dev mailing list