How to create the means of the spatial sub-units of a shapefile from a raster dataset?

2 次查看(过去 30 天)
I wanted to get the spatial averages from a raster file for each of the spatial sub-units of a shapefile. How to get the same? I have attached the raster data ("Raster.mat"), raster data's latitude ("RasterLat.mat"), raster data's longitude ("RasterLon.mat"), and the shapefile ("District_Boundaries.zip") for your reference.
Through this I wanted to get the spatial averages of values fromt he raster file for each of the spatial units (districts) from the shapefile. Kindly help me with the same.

回答(1 个)

Gojo
Gojo 2023-9-20

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

产品


版本

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by