当前位置:网站首页>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 .
边栏推荐
- new和malloc的区别
- Unity 之 ExecuteAlways正在取代ExecuteInEditMode
- IPage can display data normally, but total is always equal to 0
- 数学分析_笔记_第8章:重积分
- Ros2 - common command line (IV)
- GPIO port bit based on Cortex-M3 and M4 with operation macro definition (can be used for bus input and output, STM32, aducm4050, etc.)
- PHY驱动调试之 --- MDIO/MDC接口22号和45号条款(一)
- [solved] there is something wrong with the image
- Ethtool principle introduction and troubleshooting ideas for network card packet loss (with ethtool source code download)
- Skywalking all
猜你喜欢
ROS2——初识ROS2(一)
U-Boot初始化及工作流程分析
Negative number storage and type conversion in programs
U-boot initialization and workflow analysis
iNFTnews | 喝茶送虚拟股票?浅析奈雪的茶“发币”
ROS2——工作空间(五)
【软件测试】02 -- 软件缺陷管理
Three body goal management notes
Solve tensorfow GPU modulenotfounderror: no module named 'tensorflow_ core. estimator‘
Ret2xx---- common CTF template proposition in PWN
随机推荐
小米笔试真题一
第 2 章:小试牛刀,实现一个简单的Bean容器
[node] differences among NPM, yarn and pnpm
Matlab在线性代数中的应用(四):相似矩阵及二次型
U-Boot初始化及工作流程分析
Netease to B, soft outside, hard in
npm install -g/--save/--save-dev的区别
DelayQueue延迟队列的使用和场景
SD_ CMD_ RECEIVE_ SHIFT_ REGISTER
[nvidia] CUDA_ VISIBLE_ DEVICES
现在有html文件,和用vs制作的mvc(连接了数据库),怎么两个相连?
1290_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
Powermanagerservice (I) - initialization
new和malloc的区别
docker安装mysql并使用navicat连接
二分查找(折半查找)
MySQL setting trigger problem
[vscode] search using regular expressions
Literacy Ethernet MII interface types Daquan MII, RMII, smii, gmii, rgmii, sgmii, XGMII, XAUI, rxaui
Ros2 - workspace (V)