当前位置:网站首页>相同区域 多源栅格数据 各个像元行列号一致,即行数列数相同,像元大小相同
相同区域 多源栅格数据 各个像元行列号一致,即行数列数相同,像元大小相同
2022-07-01 05:57:00 【z6q6k6】
目录
ENVI重采样(Resize Data Parameters)
问题描述:
在多源栅格数据分析中,多源栅格数据往往需要进行数据预处理(设置投影坐标系→重采样→裁剪等),使各个像元的行列号一致。
在使用数组读取栅格数据时,数组大小相同,多个数组imgData[x][y]表示的像元坐标一致。
相同裁剪,多源栅格数据的列数和行数一致,且像元大小(x,y)相同。
ArcGIS裁剪
参考:
控制几幅栅格数据行列号完全一致 - roxy121314 - 博客园简要介绍背景: 有一张遥感影像,栅格大小在ENVI里重采样为了90*90大小的像素,导入了arcgis; 然后要将该地区的水系,道路等矢量数据转换为栅格数据,同样重采样至90大小,控制环境变量使栅格像https://www.cnblogs.com/Roxy121314/p/10386135.html裁剪 (数据管理)—ArcMap | 文档
https://desktop.arcgis.com/zh-cn/arcmap/latest/tools/data-management-toolbox/clip.htm
import arcpy
arcpy.env.workspace = r"D:\1\download\2012031\tif"
clipFeatures = (r"D:\1\2020\mainLand.shp")
desc = arcpy.Describe(clipFeatures)
extent = desc.extent
output_path = r"D:\1\download\2012031\result_tif_3.125"
rasterList = arcpy.ListRasters("*", "tif")
for raster in rasterList:
out = output_path + '\\' + raster
arcpy.Clip_management(raster, str(extent), out, "#", "#", "NONE", "MAINTAIN_EXTENT")
print(raster)ArcGIS多值提取至点
参考: 夏晓圣,陈菁菁,王佳佳,等. 基于随机森林模型的中国PM2.5浓度影响因素分析[J]. 环境科学,2020,41(5):2057-2065. DOI:10.13227/j.hjkx.201910126.

ENVI重采样(Resize Data Parameters)
envi重采样可以控制列数和行数,爆赞

边栏推荐
- 从MLPerf谈起:如何引领AI加速器的下一波浪潮
- srpingboot security demo
- 不是你脑子不好用,而是因为你没有找到对的工具
- 健康照明中应用的LED照明灯
- Seven major technical updates that developers should pay most attention to on build 2022
- DHT11 温湿度传感器
- OpenGL es: (1) origin of OpenGL es (transfer)
- 1034 Head of a Gang
- 4GB大文件,如何实时远程传输和共享?
- OpenGL es: (2) relationship between OpenGL es, EGL and glsl
猜你喜欢

论文学习记录随笔 多标签之GLOCAL

TiDB单机模拟部署生产环境集群(闭坑实践,亲测有效)

MySQL converts milliseconds to time string

Crossing sect · paipan + Siyuan notes = private notebook

OneFlow源码解析:算子签名的自动推断

Don't put your notes and videos everywhere!

可动的机械挂钟

π盘,让您电脑变成个人的私有云

Smartinstantiationawarebeanpostprocessor of the extension point series determines which construction method to execute - Chapter 432

Advanced cross platform application development (II): uni app practice
随机推荐
el-table 动态表头渲染 固定第一列 高度问题
Some errors encountered in MySQL data migration
码蹄集 - MT3149 · AND - 数据不是很强,暴力剪枝就能骗AC
OpenGL ES: (5) OpenGL的基本概念、OpenGL ES 在屏幕产生图片的过程、OpenGL管线(pipeline)
2022 the 8th China International "Internet +" college student innovation and entrepreneurship competition industry proposition track is open for registration!
Advanced cross platform application development (III): online resource upgrade / hot update with uni app
OpenGL es: (5) basic concepts of OpenGL, the process of OpenGL es generating pictures on the screen, and OpenGL pipeline
为什么用葫芦儿派盘取代U盘?
In win10 and win11, the scroll direction of Elan touch panel is reversed, and "double finger click to open the right-click menu" and "double finger scroll" are started“
数据库er图组成要素
HCM 初学 ( 四 ) - 时间
Call us special providers of personal cloud services for College Students
2022 年面向初学者的 10 大免费 3D 建模软件
OpenGL ES: (3) EGL、EGL绘图的基本步骤、EGLSurface、ANativeWindow
穿越派 你的数据云行
jdbc 数据库操作
MySQL数据迁移遇到的一些错误
论文学习记录随笔 多标签之LSML
Multi label lsml for essay learning records
不是你脑子不好用,而是因为你没有找到对的工具