当前位置:网站首页>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 .
边栏推荐
- PHY drive commissioning --- mdio/mdc interface Clause 22 and 45 (I)
- 二分查找(折半查找)
- Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory
- Pytorch has been installed in anaconda, and pycharm normally runs code, but vs code displays no module named 'torch‘
- 目标检测系列——Faster R-CNN原理详解
- An article was opened to test the real situation of outsourcing companies
- Executealways of unity is replacing executeineditmode
- 【idea】Could not autowire. No beans of xxx type found
- Steps and FAQs of connecting windows Navicat to Alibaba cloud server MySQL
- The difference between new and malloc
猜你喜欢

扫盲-以太网MII接口类型大全-MII、RMII、SMII、GMII、RGMII、SGMII、XGMII、XAUI、RXAUI
![[software testing] 04 -- software testing and software development](/img/bd/49bba7ee455ce59e726a2fdeafc7c3.jpg)
[software testing] 04 -- software testing and software development

PowerManagerService(一)— 初始化

SD_CMD_SEND_SHIFT_REGISTER

M2dgr slam data set of multi-source and multi scene ground robot

DataGrid offline installation of database driver

Ros2 - workspace (V)

Do you choose pandas or SQL for the top 1 of data analysis in your mind?

Steps and FAQs of connecting windows Navicat to Alibaba cloud server MySQL

Literacy Ethernet MII interface types Daquan MII, RMII, smii, gmii, rgmii, sgmii, XGMII, XAUI, rxaui
随机推荐
What does soda ash do?
Inftnews | drink tea and send virtual stocks? Analysis of Naixue's tea "coin issuance"
ROS2——配置开发环境(五)
三体目标管理笔记
PHY drive commissioning --- mdio/mdc interface Clause 22 and 45 (I)
Three body goal management notes
[node] differences among NPM, yarn and pnpm
小米笔试真题一
SOC_SD_CMD_FSM
Special training of C language array
苏打粉是什么?
[tf] Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initial
SOC_SD_DATA_FSM
Interpretation of the earliest sketches - image translation work sketchygan
Unity ugui how to match and transform coordinates between different UI panels or uis
Ros2 - install ros2 (III)
Binary search (half search)
Mipi interface, DVP interface and CSI interface of camera
【idea】Could not autowire. No beans of xxx type found
mysql设置触发器问题