当前位置:网站首页>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 .
边栏推荐
- 198. House raiding
- AWT introduction
- Input displays the currently selected picture
- 检漏继电器JY82-2P
- Design and implementation of redis 7.0 multi part AOF
- C language exercises (recursion)
- 报错cvc-complex-type.2.4.a: 发现了以元素 ‘base-extension‘ 开头的无效内容。应以 ‘{layoutlib}‘ 之一开头。
- 复合非线性反馈控制(二)
- [excel] PivotChart
- Experience weekly report no. 102 (July 4, 2022)
猜你喜欢

win10清除快速访问-不留下痕迹

Functions in C language (detailed explanation)

Layoutmanager layout manager: flowlayout, borderlayout, GridLayout, gridbaglayout, CardLayout, BoxLayout

JS execution mechanism

Leakage detection relay jy82-2p

Steady! Huawei micro certification Huawei cloud computing service practice is stable!

Reading notes of Clickhouse principle analysis and Application Practice (4)

C realize Snake games

C实现贪吃蛇小游戏

C réaliser des jeux de serpents gourmands
随机推荐
每周小结(*63):关于正能量
复合非线性反馈控制(二)
JS arguments parameter usage and explanation
Considerations for testing a website
如何展开Collapse 的所有折叠面板
剑指 Offer II 038. 每日温度
Grounding relay dd-1/60
Layoutmanager layout manager: flowlayout, borderlayout, GridLayout, gridbaglayout, CardLayout, BoxLayout
Arc135 a (time complexity analysis)
对List进行排序工具类,可以对字符串排序
LayoutManager布局管理器:FlowLayout、BorderLayout、GridLayout、GridBagLayout、CardLayout、BoxLayout
《ClickHouse原理解析与应用实践》读书笔记(4)
Sort list tool class, which can sort strings
安装 Pytorch geometric
Nexus 6p downgraded from 8.0 to 6.0+root
js arguments参数使用和详解
C réaliser des jeux de serpents gourmands
The width of the picture in rich text used by wechat applet exceeds the problem
检漏继电器JY82-2P
509. 斐波那契数、爬楼梯所有路径、爬楼梯最小花费