Extracting Elevation Data for Centroids

1841
5
10-04-2012 11:32 AM
MattGillen
New Contributor
Hi there,

I apologize if this, or something similar, has been asked recently and if I'm not in the right forum for this issue.

I have a shapefile of every zip code in the United States. I have then broke it down by State and am focusing on New York right now. I want to import a DEM of New York and then take the centroid of each zip code and find the elevation. I'd like the elevation to then be an attribute within the zip code shapefile. I have the centroids as a lat/lon coordinate given int he zip code shapefile.

Currently, I do not have a DEM file on New York, and wanted to see if this was possible to due before trying to get one. If any of you have another idea on how to get the elevation of a centroid, please feel free to suggest it as I am open to different ways of doing this, as I will be needing to do this for 25-30 states.

Thank you so much for any help you can provide!

Matt
Tags (2)
0 Kudos
5 Replies
JonathanQuinn
Esri Notable Contributor
Check out the answer to your other post here.
0 Kudos
JeffreyEvans
Occasional Contributor III
Is there any particular reason that you need the elevation for the centroid. You could take the mean elevation for each zip code polygon using "Zonal Statistics as Table" (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z000000w8000000.htm) and then join the table back to the polygons.
0 Kudos
MattGillen
New Contributor
Jevans02,

The mean would actually be more useful for my end goal. I would still need a DEM, right? Or is there another way to get elevation data? The shapefile with the zip codes does not have any elevation data included.

Thanks for the idea!
0 Kudos
JeffreyEvans
Occasional Contributor III
Yes, you will still need a DEM (elevation raster). Two common sources for the US are:

The National Map (USGS NED)
http://nationalmap.gov/

USDA-NRCS Geospatial Data Gateway
http://datagateway.nrcs.usda.gov/
0 Kudos
MattGillen
New Contributor
Thanks for the links! This also means I would need the Spatial Analyst extension of ArcMap, correct? Or is there another way to go about doing this. I have the spatial analyst, but am curious if there is a better option.

Thanks again!
0 Kudos