Monday, March 10, 2025
Monday, March 3, 2025
Matlab: Export the selected polygons from the Shapefile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | % Shp Path shppath='NFDB_poly_20210707.shp'; S = readgeotable(shppath); [~, prjname, ~]=fileparts(shppath); prjpath=[prjname, '.prj']; % Example: Select polygons where 'LandType' is 'Forest' and 'Area' > 1000 selected_rows = S(S.SRC_AGENCY == "MB" & S.YEAR ==2017, :); % Loop for ii=5:10 rows=selected_rows(selected_rows.MONTH==ii, :); otpath=2017*100+ii; copyfile(prjpath, [num2str(otpath), '.prj']); otpath=[num2str(otpath), '.shp']; shapewrite(rows, otpath); end |
Wednesday, February 26, 2025
Monday, February 17, 2025
Matlab: Batch Mapping
This program requires all images and shapefiles to be in a **Geographic Coordinate System**.
Mapping with a large number of latitude and longitude points.
Wednesday, February 12, 2025
Matlab: MCD64A1
This program can extract burnt locations from MCD64A1 products. file.
Thursday, January 30, 2025
MODIS tile distribution
原始影像来自MOD44W。files
The original imagery is from MOD44W.
每次下载后,请在E盘下打开MXD文件。
After each download, please open the MXD file in the E drive.
本目录的目的在于确定目标区域覆盖的MODIS分区(TILES)。
The purpose of this directory is to determine the MODIS tiles covering the target area.
List of the target areas:
Manitoba: h11v03, h11v04, h12v03, h13v03; -95, 49, -102, 60
Subscribe to:
Posts (Atom)