当前位置:网站首页>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 .
边栏推荐
- How to determine whether an array contains an element
- AWT common components, FileDialog file selection box
- [excel] PivotChart
- APScheduler如何设置任务不并发(即第一个任务执行完再执行下一个)?
- lightroom 导入图片灰色/黑色矩形 多显示器
- Input displays the currently selected picture
- The width of the picture in rich text used by wechat applet exceeds the problem
- Leetcode question brushing record | 206_ Reverse linked list
- gslb(global server load balance)技术的一点理解
- Learning multi-level structural information for small organ segmentation
猜你喜欢
如何获取el-tree中所有节点的父节点
【微服务】Nacos集群搭建以及加载文件配置
分布式CAP理论
Notes and notes
Configure cross compilation tool chain and environment variables
Grounding relay dd-1/60
C實現貪吃蛇小遊戲
Detailed explanation of common APIs for component and container containers: frame, panel, scrollpane
配置交叉编译工具链和环境变量
MySQL installation and configuration
随机推荐
Configure cross compilation tool chain and environment variables
JS flattened array of number shape structure
509. Fibonacci number, all paths of climbing stairs, minimum cost of climbing stairs
Vant --- detailed explanation and use of list component in vant
Overview of relevant subclasses of beanfactorypostprocessor and beanpostprocessor
Design and implementation of tcp/ip series overview
2022.7.2-----leetcode.871
C实现贪吃蛇小游戏
如何实现视频平台会员多账号登录
Arcpy 利用updatelayer函数改变图层的符号系统
How to solve the component conflicts caused by scrollbars in GridView
How to expand all collapse panels
Json Web token - jwt vs. Traditional session login Authentication
"In simple language programming competition (basic)" part 1 Introduction to language Chapter 3 branch structure programming
Functions in C language (detailed explanation)
Nexus 6p downgraded from 8.0 to 6.0+root
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
冲击继电器JC-7/11/DC110V
[March 3, 2019] MAC starts redis
《ClickHouse原理解析与应用实践》读书笔记(4)