当前位置:网站首页>Arcpy 利用updatelayer函数改变图层的符号系统
Arcpy 利用updatelayer函数改变图层的符号系统
2022-07-04 06:09:00 【YuanYWRS】
【介绍】:
arcpy.mapping 里的updatelayer函数具有更新图层符号系统的功能,也可以用来更新各种图层属性,它作为一个多功能的函数,需要掌握其各个参数的使用情况。
【处理前】:
【代码示例】:
【代码分析】:
[第一行]:导入arcpy.mapping模块;
[第二行]:引用当前的地图文档,并赋值给变量;
[第三行]:获取对数据框的引用;
[第四行]:定义将要更新的图层;如果更新图层的符号系统,必须保证更新图层和源图层具有相同的几何图形(点、线、面),还要检查属性定义是否相同,分级颜色和分级符号都要基于一个特定的属性。
[第五行]:定义用于更新符号系统的源图层;
[第六行]:调用updatelayer函数来更新符号系统;True表示的是仅仅更新图层的符号系统,不更新属性信息。
【处理后】:
【结果分析】:由分级颜色变为分级符号。
【声明】:代码和数据均来源于牟乃夏老师的书籍。
边栏推荐
- 【微服务】Nacos集群搭建以及加载文件配置
- buuctf-pwn write-ups (8)
- Arc135 a (time complexity analysis)
- Vant --- detailed explanation and use of list component in vant
- AWT common components, FileDialog file selection box
- JSON Web Token----JWT和传统session登录认证对比
- Sort list tool class, which can sort strings
- 报错cvc-complex-type.2.4.a: 发现了以元素 ‘base-extension‘ 开头的无效内容。应以 ‘{layoutlib}‘ 之一开头。
- Error CVC complex type 2.4. a: Invalid content beginning with element 'base extension' was found. Should start with one of '{layoutlib}'.
- QT get random color value and set label background color code
猜你喜欢

Configure cross compilation tool chain and environment variables

509. Fibonacci number, all paths of climbing stairs, minimum cost of climbing stairs

Arc135 C (the proof is not very clear)

Review | categories and mechanisms of action of covid-19 neutralizing antibodies and small molecule drugs

Design and implementation of redis 7.0 multi part AOF

Functions in C language (detailed explanation)

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

C language exercises (recursion)

BeanFactoryPostProcessor 与 BeanPostProcessor 相关子类概述

Uninstall Google drive hard drive - you must exit the program to uninstall
随机推荐
el-select如何实现懒加载(带搜索功能)
Layoutmanager layout manager: flowlayout, borderlayout, GridLayout, gridbaglayout, CardLayout, BoxLayout
HMS v1.0 appointment. PHP editid parameter SQL injection vulnerability (cve-2022-25491)
HMS v1.0 appointment.php editid参数 SQL注入漏洞(CVE-2022-25491)
C realize Snake games
How to implement lazy loading in El select (with search function)
LayoutManager布局管理器:FlowLayout、BorderLayout、GridLayout、GridBagLayout、CardLayout、BoxLayout
QT qtablewidget table column top requirements ideas and codes
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
One click filtering to select Baidu online disk files
4G wireless all network solar hydrological equipment power monitoring system bms110
input显示当前选择的图片
Review | categories and mechanisms of action of covid-19 neutralizing antibodies and small molecule drugs
检漏继电器JY82-2P
The difference between PX EM rem
Accidentally deleted the data file of Clickhouse, can it be restored?
fastjson
Arc135 a (time complexity analysis)
2022.7.3-----leetcode. five hundred and fifty-six
C语言中的函数(详解)