当前位置:网站首页>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 .
边栏推荐
- [software testing] 06 -- basic process of software testing
- An article was opened to test the real situation of outsourcing companies
- 【软件测试】02 -- 软件缺陷管理
- *P++, (*p) + +, * (p++) differences
- Docker installs MySQL and uses Navicat to connect
- [software testing] 03 -- overview of software testing
- Build a microservice cluster environment locally and learn to deploy automatically
- In C language, int a= 'R'
- SD_ CMD_ SEND_ SHIFT_ REGISTER
- Sre core system understanding
猜你喜欢
[vscode] prohibit the pylance plug-in from automatically adding import
[software testing] 06 -- basic process of software testing
Volcano resource reservation feature
ROS2——安装ROS2(三)
ethtool 原理介绍和解决网卡丢包排查思路(附ethtool源码下载)
U-boot initialization and workflow analysis
【Node】nvm 版本管理工具
目标检测系列——Faster R-CNN原理详解
SD_CMD_RECEIVE_SHIFT_REGISTER
SOC_SD_DATA_FSM
随机推荐
Powermanagerservice (I) - initialization
PostMessage communication
[software testing] 02 -- software defect management
U-boot initialization and workflow analysis
Do you choose pandas or SQL for the top 1 of data analysis in your mind?
About vscode, "code unreachable" will be displayed when calling sendline series functions with pwntools“
【软件测试】03 -- 软件测试概述
Logical structure and physical structure
【Node】nvm 版本管理工具
In C language, int a= 'R'
SD_CMD_SEND_SHIFT_REGISTER
SD_ CMD_ SEND_ SHIFT_ REGISTER
Ros2 - function package (VI)
Install deeptools in CONDA mode
What is soda?
[software testing] 04 -- software testing and software development
[framework] multi learner
ethtool 原理介绍和解决网卡丢包排查思路(附ethtool源码下载)
ROS2——node节点(七)
[OBS] x264 Code: "buffer_size“