フィルターのクリア

Extracting data from a raster file with the borders of polygon (vector in shapefile)

7 ビュー (過去 30 日間)
Abbas
Abbas 2014 年 2 月 26 日
回答済み: Suman Dhamala 2021 年 6 月 28 日
Hi everyone,
I am working with geotiff files and I want to extract the value of part of it restricted by a polygon in a shapefile. In ARC GIS there is a command called "extract by mask" and it is possible to extract part of a raster file using a polygon or another smaller raster which is smaller than the original file. Let me know how I can do it.
Cheers Abbas

採用された回答

Chad Greene
Chad Greene 2014 年 9 月 21 日
This may not be exactly what you're looking for, but you could interpolate values given by lat/lon or map x/y using geotiffinterp. You may be able to adapt the regridding example in that link to suit your needs.

その他の回答 (1 件)

Suman Dhamala
Suman Dhamala 2021 年 6 月 28 日
You can use clip raster by polygon function.
https://in.mathworks.com/matlabcentral/fileexchange/63855-clip-raster-by-polygon

Community Treasure Hunt

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

Start Hunting!

Translated by