当前位置:网站首页>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 .
边栏推荐
- 每周小结(*63):关于正能量
- Fast power (template)
- HMS v1.0 appointment. PHP editid parameter SQL injection vulnerability (cve-2022-25491)
- Tf/pytorch/cafe-cv/nlp/ audio - practical demonstration of full ecosystem CPU deployment - Intel openvino tool suite course summary (Part 2)
- Functions in C language (detailed explanation)
- The end of the Internet is rural revitalization
- How to expand all collapse panels
- Json Web token - jwt vs. Traditional session login Authentication
- fastjson
- C语言练习题(递归)
猜你喜欢
![[March 3, 2019] MAC starts redis](/img/ff/88638fcdc8d24dc268781c224e8195.jpg)
[March 3, 2019] MAC starts redis

卸载Google Drive 硬盘-必须退出程序才能卸载

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

Take you to quickly learn how to use qsort and simulate qsort

Win10 clear quick access - leave no trace

Abap:ooalv realizes the function of adding, deleting, modifying and checking

js如何将秒转换成时分秒显示

Input displays the currently selected picture

AWT常用组件、FileDialog文件选择框

Online shrimp music will be closed in January next year. Netizens call No
随机推荐
js获取对象中嵌套的属性值
Detailed explanation of common APIs for component and container containers: frame, panel, scrollpane
Design and implementation of tcp/ip series overview
Excel comparator
How to expand all collapse panels
lightroom 导入图片灰色/黑色矩形 多显示器
Design and implementation of redis 7.0 multi part AOF
体验碎周报第 102 期(2022.7.4)
AWT common components, FileDialog file selection box
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
JSON web token -- comparison between JWT and traditional session login authentication
509. Fibonacci number, all paths of climbing stairs, minimum cost of climbing stairs
JS execution mechanism
注释与注解
How to solve the component conflicts caused by scrollbars in GridView
【无标题】
对List进行排序工具类,可以对字符串排序
Learning multi-level structural information for small organ segmentation
我的NVIDIA开发者之旅——优化显卡性能
C language - Blue Bridge Cup - Snake filling