TransWikia.com

Extract Raster Value into Polygon Attribute

Geographic Information Systems Asked on June 17, 2021

I have Raster Data for a State which has Elevation Data in its pixels. I also have Vector layer which has the 300 divisions of State. what I need is, I want to get the average elevation value of particular division from the raster data using ArcGIS.

I tried extract by mask in ArcGIS to extract individual polygon to clip the raster into 300 raster then from individual raster i have collected average elevation but it has taken days together to complete the work. Is there any other easy way to get it?

5 Answers

This is the task for the Zonal Statistics tool. Go to Spatial Analyst Tools > Zonal > Zonal Statistics and select the Mean statistic. The raster should have an attribute table for this.

Answered by nadya on June 17, 2021

There are several ways to do this. If you don't have Spatial Analyst you can do it anyway as follows:

  • First, convert the raster to Points using the Raster to Point tool. This gives you a grid of points and is relatively quick - 16million points were created in about 2 minutes (be sure to turn off rendering so they aren't displayed though ;-) ).

  • Now, use the Analysis Tools -> Overlay - Spatial Join tool. Target feature is your 300 polygon layer, join is the point layer. Leave as one-to-one. Create a "Field Map of Join Features" - being sure to set the merge rule as "mean", "Median", or "mode" (or all of them I guess). Resultant single polygon layer should have all 300 polygon areas, each of which has attributes with the requested types of average calculated in them.

That should get you the numbers you need with minimal effort (though waiting quite a bit of processing - Spatial Joins are slow).

Answered by GIS-Jonathan on June 17, 2021

You can use Geospatial Modelling Environment tools (independent tools) which used to be Hawths Tools. From there you can extract raster values of the extent of polygons with whichever statistics you want. You can also extract thematic variables with its fraction. the result will be automatically added to your shapefile. This tool works together with ArcGIS and R.

Specifically use the isectpolyrst tool to put underlying raster information into polygon shapefiles. It has no problems with overlapping polygons either.

Answered by Nandika on June 17, 2021

Step 1: Feature to Point (Data Management) Step 2: Extract Multi Values to Points (Spatial Analyst)

Answered by Pieterjan on June 17, 2021

you can use these steps: 1.Vector to raster (your polygons) 2. Use sample spatial analyses to extract raster value as a table file (your raster file and the output frome "step 1". 3. Use "Join Filed" to add table result to polygon Attribute Good luck

Answered by Vahid Nasiri on June 17, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP