当前位置:网站首页>Arcpy 利用updatelayer函数改变图层的符号系统
Arcpy 利用updatelayer函数改变图层的符号系统
2022-07-04 06:09:00 【YuanYWRS】
【介绍】:
arcpy.mapping 里的updatelayer函数具有更新图层符号系统的功能,也可以用来更新各种图层属性,它作为一个多功能的函数,需要掌握其各个参数的使用情况。
【处理前】:
【代码示例】:
【代码分析】:
[第一行]:导入arcpy.mapping模块;
[第二行]:引用当前的地图文档,并赋值给变量;
[第三行]:获取对数据框的引用;
[第四行]:定义将要更新的图层;如果更新图层的符号系统,必须保证更新图层和源图层具有相同的几何图形(点、线、面),还要检查属性定义是否相同,分级颜色和分级符号都要基于一个特定的属性。
[第五行]:定义用于更新符号系统的源图层;
[第六行]:调用updatelayer函数来更新符号系统;True表示的是仅仅更新图层的符号系统,不更新属性信息。
【处理后】:
【结果分析】:由分级颜色变为分级符号。
【声明】:代码和数据均来源于牟乃夏老师的书籍。
边栏推荐
- Learn about the Internet of things protocol WiFi ZigBee Bluetooth, etc. --- WiFi and WiFi protocols start from WiFi. What do we need to know about WiFi protocol itself?
- My NVIDIA developer journey - optimizing graphics card performance
- Invalid revision: 3.18.1-g262b901-dirty
- 如何判断数组中是否含有某个元素
- [excel] PivotChart
- C réaliser des jeux de serpents gourmands
- QT get random color value and set label background color code
- 4G wireless all network solar hydrological equipment power monitoring system bms110
- Take you to quickly learn how to use qsort and simulate qsort
- Canoe panel learning video
猜你喜欢

Canoe panel learning video
![70000 words of detailed explanation of the whole process of pad openvino [CPU] - from environment configuration to model deployment](/img/3f/36a67544deceb3d3789b500efde89c.jpg)
70000 words of detailed explanation of the whole process of pad openvino [CPU] - from environment configuration to model deployment

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

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

(4) Canal multi instance use

Distributed cap theory

input显示当前选择的图片

如何获取el-tree中所有节点的父节点
![[untitled]](/img/32/cfd45bb5e8555ea2ad344161370dbe.png)
[untitled]

buuctf-pwn write-ups (8)
随机推荐
Invalid bound statement (not found): com. example. mapper. TblUserRecordMapper. login
Canoe panel learning video
2022.7.2-----leetcode. eight hundred and seventy-one
Upper computer software development - log information is stored in the database based on log4net
InputStream/OutputStream(文件的输入输出)
C语言中的函数(详解)
QT get random color value and set label background color code
Overview of relevant subclasses of beanfactorypostprocessor and beanpostprocessor
HMS v1.0 appointment. PHP editid parameter SQL injection vulnerability (cve-2022-25491)
【微服务】Nacos集群搭建以及加载文件配置
Excel 比较日器
740. Delete and get points
[excel] PivotChart
FRP intranet penetration, reverse proxy
How to determine whether an array contains an element
如何判断数组中是否含有某个元素
C實現貪吃蛇小遊戲
input显示当前选择的图片
如何避免 JVM 内存泄漏?
509. Fibonacci number, all paths of climbing stairs, minimum cost of climbing stairs