当前位置:网站首页>Arcpy uses the updatelayer function to change the symbol system of the layer
Arcpy uses the updatelayer function to change the symbol system of the layer
2022-07-04 06:14:00 【YuanYWRS】
【 Introduce 】:
arcpy.mapping Inside updatelayer Function has the function of updating the layer symbol system , It can also be used to update various layer attributes , As a multifunctional function , You need to master the use of its parameters .
【 Before processing 】:
【 Code example 】:
【 The code analysis 】:
[ first line ]: Import arcpy.mapping modular ;
[ The second line ]: Reference the current map document , And assign to variable ;
[ The third line ]: Get a reference to the data frame ;
[ In the fourth row ]: Define the layer to be updated ; If you update the symbol system of the layer , It must be ensured that the updated layer and the source layer have the same geometry ( spot 、 Line 、 Noodles ), Also check whether the attribute definitions are the same , Grading colors and grading symbols are based on a specific attribute .
[ The fifth row ]: Define the source layer used to update the symbology ;
[ Sixth elements ]: call updatelayer Function to update the symbology ;True It means that only the symbol system of the layer is updated , Do not update attribute information .
【 After processing 】:
【 Result analysis 】: Change from grading color to grading symbol .
【 Statement 】: The code and data are from the books of teacher mu Naixia .
边栏推荐
- 测试岗的中年危机该如何选择?是坚守还是另寻出路?且看下文
- High performance parallel programming and optimization | lesson 02 homework at home
- gslb(global server load balance)技术的一点理解
- Functions in C language (detailed explanation)
- 70000 words of detailed explanation of the whole process of pad openvino [CPU] - from environment configuration to model deployment
- Nexus 6p downgraded from 8.0 to 6.0+root
- The end of the Internet is rural revitalization
- JS how to convert seconds into hours, minutes and seconds display
- Overview of relevant subclasses of beanfactorypostprocessor and beanpostprocessor
- 《ClickHouse原理解析与应用实践》读书笔记(4)
猜你喜欢

检漏继电器JY82-2P

【微服务】Nacos集群搭建以及加载文件配置

C實現貪吃蛇小遊戲

AWT介绍

LayoutManager布局管理器:FlowLayout、BorderLayout、GridLayout、GridBagLayout、CardLayout、BoxLayout

Design and implementation of redis 7.0 multi part AOF
![Yiwen unlocks Huawei's new cloud skills - the whole process of aiot development [device access - ESP end-to-side data collection [mqtt]- real time data analysis] (step-by-step screenshot is more detai](/img/a5/be967170a18cb2de097f01a6d4e039.jpg)
Yiwen unlocks Huawei's new cloud skills - the whole process of aiot development [device access - ESP end-to-side data collection [mqtt]- real time data analysis] (step-by-step screenshot is more detai

buuctf-pwn write-ups (8)

A little understanding of GSLB (global server load balance) technology

198. House raiding
随机推荐
[March 3, 2019] MAC starts redis
配置交叉编译工具链和环境变量
How to choose the middle-aged crisis of the testing post? Stick to it or find another way out? See below
QT 获取随机颜色值设置label背景色 代码
JS flattened array of number shape structure
Considerations for testing a website
One click filtering to select Baidu online disk files
Arc135 a (time complexity analysis)
接地继电器DD-1/60
el-select如何实现懒加载(带搜索功能)
《ClickHouse原理解析与应用实践》读书笔记(4)
Leakage detection relay jy82-2p
卸载Google Drive 硬盘-必须退出程序才能卸载
Sort list tool class, which can sort strings
198. House raiding
Lightroom import picture gray / Black rectangular multi display
测试岗的中年危机该如何选择?是坚守还是另寻出路?且看下文
Design and implementation of redis 7.0 multi part AOF
How to expand all collapse panels
MySQL installation and configuration