当前位置:网站首页>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 .
边栏推荐
- Sword finger offer II 038 Daily temperature
- AWT常用组件、FileDialog文件选择框
- The width of the picture in rich text used by wechat applet exceeds the problem
- QT get random color value and set label background color code
- Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
- MySQL information_ Schema database
- 如何判断数组中是否含有某个元素
- After the festival, a large number of people change careers. Is it still time to be 30? Listen to the experience of the past people
- How to realize multi account login of video platform members
- Considerations for testing a website
猜你喜欢

How to avoid JVM memory leakage?

Leakage detection relay jy82-2p

How much computing power does transformer have
![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

C language exercises (recursion)

如何实现视频平台会员多账号登录

Component、Container容器常用API详解:Frame、Panel、ScrollPane

198. House raiding

Sword finger offer II 038 Daily temperature

QT get random color value and set label background color code
随机推荐
Win10 clear quick access - leave no trace
Steady! Huawei micro certification Huawei cloud computing service practice is stable!
LayoutManager布局管理器:FlowLayout、BorderLayout、GridLayout、GridBagLayout、CardLayout、BoxLayout
How much computing power does transformer have
体验碎周报第 102 期(2022.7.4)
接地继电器DD-1/60
C语言中的函数(详解)
Learning multi-level structural information for small organ segmentation
微信小程序使用rich-text中图片宽度超出问题
Sort list tool class, which can sort strings
Reading notes of Clickhouse principle analysis and Application Practice (4)
How to realize multi account login of video platform members
JSON web token -- comparison between JWT and traditional session login authentication
How to avoid JVM memory leakage?
《ClickHouse原理解析与应用实践》读书笔记(4)
How to help others effectively
Kubernets first meeting
509. Fibonacci number, all paths of climbing stairs, minimum cost of climbing stairs
A little understanding of GSLB (global server load balance) technology
JS扁平化数形结构的数组