Geographic Information Systems Asked by Mr Angus on October 21, 2020
Are there any tools or methods in ArcMap that can measure the area of each level of the kernel density output?
Note this is just a kernel density plot (not a shape file or polygon). Kernel Density Analysis (dark green (10%) to red (90%) (1)
I have tried a few things but i need it to be accurate.
I would use the following workflow to calculate the area within the classes:
Figure 1
Figure 2
Figure 3
Correct answer by Aaron on October 21, 2020
Assuming that your kernel density plot is a raster created using the kernel density tool or similar, this is just a matter of using the Raster to Polygon tool.
Make sure you specify the field that defines the classification of the raster and it will convert it to polygons. You can then use the Calculate Geometry tool to calculate area.
Answered by Fezter on October 21, 2020
One quick solution to this is a manual solve:
Accurate is a relative term. As far as your raster areas go, it will be exactly accurate. If you use Fezter's method, the area may differ depending on whether you use Smooth when converting the pixel based regions to polygons.
Answered by Chris W on October 21, 2020
If you want an arcpy solution:
import numpy as np #not sure how arcpy imports numpy
r = arcpy.RasterToNumPyArray('your raster name')
for val in np.unique(r):
area = np.sum(r == val) #multiply this by your pixel area
print 'value ', val, ' : ', area
alternatively you can write the values to a csv/text file.
Answered by user1269942 on October 21, 2020
ArcGIS Pro solution
Answered by user170096 on October 21, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP