当前位置:网站首页>Arcpy 利用updatelayer函数改变图层的符号系统
Arcpy 利用updatelayer函数改变图层的符号系统
2022-07-04 06:09:00 【YuanYWRS】
【介绍】:
arcpy.mapping 里的updatelayer函数具有更新图层符号系统的功能,也可以用来更新各种图层属性,它作为一个多功能的函数,需要掌握其各个参数的使用情况。
【处理前】:
【代码示例】:
【代码分析】:
[第一行]:导入arcpy.mapping模块;
[第二行]:引用当前的地图文档,并赋值给变量;
[第三行]:获取对数据框的引用;
[第四行]:定义将要更新的图层;如果更新图层的符号系统,必须保证更新图层和源图层具有相同的几何图形(点、线、面),还要检查属性定义是否相同,分级颜色和分级符号都要基于一个特定的属性。
[第五行]:定义用于更新符号系统的源图层;
[第六行]:调用updatelayer函数来更新符号系统;True表示的是仅仅更新图层的符号系统,不更新属性信息。
【处理后】:
【结果分析】:由分级颜色变为分级符号。
【声明】:代码和数据均来源于牟乃夏老师的书籍。
边栏推荐
- Nexus 6p从8.0降级6.0+root
- C实现贪吃蛇小游戏
- Review | categories and mechanisms of action of covid-19 neutralizing antibodies and small molecule drugs
- [Chongqing Guangdong education] electronic circuit homework question bank of RTVU secondary school
- Recommended system 1 --- framework
- How to implement lazy loading in El select (with search function)
- How to choose the middle-aged crisis of the testing post? Stick to it or find another way out? See below
- 【无标题】
- Wechat applet +php realizes authorized login
- 2022.7.3-----leetcode.556
猜你喜欢

js arguments参数使用和详解

C language exercises (recursion)

Tf/pytorch/cafe-cv/nlp/ audio - practical demonstration of full ecosystem CPU deployment - Intel openvino tool suite course summary (Part 2)

509. 斐波那契数、爬楼梯所有路径、爬楼梯最小花费

A little understanding of GSLB (global server load balance) technology

(4) Canal multi instance use

C语言中的函数(详解)

How to get the parent node of all nodes in El tree

Input displays the currently selected picture

配置交叉编译工具链和环境变量
随机推荐
How to solve the component conflicts caused by scrollbars in GridView
4G wireless all network solar hydrological equipment power monitoring system bms110
Actual cases and optimization solutions of cloud native architecture
js如何将秒转换成时分秒显示
Design and implementation of redis 7.0 multi part AOF
HMS v1.0 appointment. PHP editid parameter SQL injection vulnerability (cve-2022-25491)
Kubernets first meeting
QT QTableWidget 表格列置顶需求的思路和代码
如何判断数组中是否含有某个元素
Nexus 6p downgraded from 8.0 to 6.0+root
每周小结(*63):关于正能量
分布式CAP理论
JS flattened array of number shape structure
FRP intranet penetration, reverse proxy
Invalid revision: 3.18.1-g262b901-dirty
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?
input显示当前选择的图片
Fast power (template)
如何获取el-tree中所有节点的父节点
webrtc 快速搭建 视频通话 视频会议