当前位置:网站首页>arcpy. SpatialJoin_ Analysis spatial connection analysis
arcpy. SpatialJoin_ Analysis spatial connection analysis
2022-07-05 07:14:00 【RS&Hydrology】
Reference material :https://pro.arcgis.com/zh-cn/pro-app/latest/tool-reference/analysis/spatial-join.htm
1. effect
spatial analysis : Connect the attributes of one feature class to the attributes of another feature class according to the spatial relationship . The target feature and the connected attributes from the connected feature are written to the output feature class .
2. Usage method
SpatialJoin_analysis (target_features, join_features, out_feature_class, {
join_operation}, {
join_type}, {
field_mapping}, {
match_option}, {
search_radius}, {
distance_field_name})
3. give an example
import arcpy
target_features = "C:/data/usa.gdb/states"
join_features = "C:/data/usa.gdb/cities"
out_feature_class = "C:/data/usa.gdb/states_cities"
arcpy.SpatialJoin_analysis(target_features, join_features, out_feature_class)
similar Arcmap Select by attribute in , Then assign a certain attribute value to the target layer .
边栏推荐
- ROS2——安装ROS2(三)
- DelayQueue延迟队列的使用和场景
- ethtool 原理介绍和解决网卡丢包排查思路(附ethtool源码下载)
- Inftnews | drink tea and send virtual stocks? Analysis of Naixue's tea "coin issuance"
- GPIO port bit based on Cortex-M3 and M4 with operation macro definition (can be used for bus input and output, STM32, aducm4050, etc.)
- In C language, int a= 'R'
- M2DGR 多源多场景 地面机器人SLAM数据集
- NPM and package common commands
- ROS2——功能包(六)
- 2022年中纪实 -- 一个普通人的经历
猜你喜欢
ROS2——初识ROS2(一)
Literacy Ethernet MII interface types Daquan MII, RMII, smii, gmii, rgmii, sgmii, XGMII, XAUI, rxaui
[software testing] 06 -- basic process of software testing
SOC_SD_DATA_FSM
【idea】Could not autowire. No beans of xxx type found
ethtool 原理介绍和解决网卡丢包排查思路(附ethtool源码下载)
第 2 章:小试牛刀,实现一个简单的Bean容器
M2DGR 多源多场景 地面机器人SLAM数据集
docker安装mysql并使用navicat连接
IPage can display data normally, but total is always equal to 0
随机推荐
扫盲-以太网MII接口类型大全-MII、RMII、SMII、GMII、RGMII、SGMII、XGMII、XAUI、RXAUI
SD_CMD_RECEIVE_SHIFT_REGISTER
Raspberry pie 4B arm platform aarch64 PIP installation pytorch
摄像头的MIPI接口、DVP接口和CSI接口
【软件测试】02 -- 软件缺陷管理
The difference between new and malloc
Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory
C learning notes
Anaconda navigator click open no response, can not start error prompt attributeerror: 'STR' object has no attribute 'get‘
程序中的负数存储及类型转换
你心目中的数据分析 Top 1 选 Pandas 还是选 SQL?
Spinningup drawing curve
Application of MATLAB in Linear Algebra (4): similar matrix and quadratic form
Empire help
U-Boot初始化及工作流程分析
Oracle code use
SOC_ SD_ CMD_ FSM
Inftnews | drink tea and send virtual stocks? Analysis of Naixue's tea "coin issuance"
Executealways of unity is replacing executeineditmode
Interpretation of the earliest sketches - image translation work sketchygan