Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a hdf file showing raster data and I want to join this to a shape file (in Acrgis) so can aggregate the values to areas rather than cells. Unfornuately the hdf has no attribute table so I cannot join. When I try to create one it says it can't be done as isn't a single band file. Is there a way around it so I can join the data?


share|improve this question

Use Extract Subdataset to convert the HDF to a raster. Then use Zonal Statistics as Table with your shapefile to aggregate the statistics you would like. Lastly, join the relevant fields in this output table back to the shapefile using Join Field. For multiband HDF, you will need to extract each HDF subdataset index (single band) to individual rasters and apply these tools for as many times as needed. If the HDF sundataset index contains integer values, you may be able to access its attribute table and perform a join by attributes, but zonal statistics is typically used for aggregating raster values to features (shapefiles).

share|improve this answer
Do you have a reference that explains HDF files to a novice? – Geocurious Jan 31 '13 at 18:59
Official reference: and pseudo-official reference: – ccn Jan 31 '13 at 19:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.