arcpy.mapping 类可使用地图文档 (.mxd) 或图层文件 (.lyr) 中的不同对象类型的各种方法和属性。此文档可专门用作快速参考。有关详细信息,请使用链接跳转至各帮助页面。

arcpy.mapping 类

DataDrivenPages

  • 方法

    • exportToPDF(out_pdf, {page_range_type}, {page_range_string}, {multiple_files}, {resolution}, {image_quality}, {colorspace}, {compress_vectors}, {image_compression}, {picture_symbol}, {convert_markers}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality})
    • getPageIDFromName(page_name)
    • printPages({printer_name}, {page_range_type}, {page_range_string}, {out_print_file})
    • refresh()
  • 属性
    • currentPageID - 读/写;长整型
    • pageCount - 只读;长整型
    • pageRow - 只读; GP 行对象

DataFrame

  • 方法

    • panToExtent(extent)
    • zoomToSelectedFeatures()
  • 属性
    • credits - 读/写;字符串型
    • description - 读/写;字符串型
    • displayUnits - 读/写;字符串型
    • elementHeight - 读/写;双精度型
    • elementPositionX - 读/写;双精度型
    • elementPositionY - 读/写;双精度型
    • elementWidth - 读/写;字符串型
    • extent - 读/写; GP Extent 对象
    • geographicTransformations - 读/写;字符串的 Python 列表
    • mapUnits - 只读;字符串型
    • name - 读/写;字符串型
    • referenceScale - 读/写;双精度型
    • rotation - 读/写;双精度型
    • scale - 读/写;双精度型
    • spatialReference - 读/写; GP 空间参考对象
    • time - 只读;DataFrameTime 对象
    • type - 只读;字符串型

DataFrameTime

  • 方法

    • resetTimeExtent()
  • 属性
    • currentTime - 读/写;Python datetime 对象
    • endTime - 读/写;Python datetime 对象
    • startTime - 读/写;Python datetime 对象
    • timeStepInterval - 只读;Python timedelta 对象
    • timeWindow - 读/写;双精度型
    • timeWindowUnits - 读/写;字符串型

GraphicElement

  • 属性

    • elementHeight - 读/写;双精度型
    • elementPositionX - 读/写;双精度型
    • elementPositionY - 读/写;双精度型
    • elementWidth - 读/写;字符串型
    • name - 读/写;字符串型
    • type - 只读;字符串型

LabelClass

  • 属性

    • className - 读/写;字符串型
    • expression - 读/写;字符串型
    • showClassLabels - 读/写;布尔型
    • SQLQuery - 读/写;字符串型

Layer

  • 方法

    • findAndReplaceWorkspacePath(find_workspace_path, replace_workspace_path, {validate})
    • getExtent({symbolized_extent})
    • getSelectedExtent({symbolized_extent})
    • replaceDataSource(workspace_path, workspace_type, dataset_name, {validate})
    • save()
    • saveACopy(file_name, {version})
    • supports(layer_property)
  • 属性
    • brightness - 读/写;长整型
    • contrast - 读/写;长整型
    • credits - 读/写;字符串型
    • datasetName - 只读;字符串型
    • dataSource - 只读;字符串型
    • definitionQuery - 读/写;字符串型
    • description - 读/写;字符串型
    • isFeatureLayer - 只读;布尔型
    • isGroupLayer - 只读;布尔型
    • isRasterizingLayer - 只读;布尔型
    • isRasterLayer - 只读;布尔型
    • labelClasses - 读/写;LabelClass 对象列表
    • longName - 只读;字符串型
    • name - 读/写;字符串型
    • serviceProperties - 只读;属性集字典
    • showLabels - 读/写;布尔型
    • transparency - 读/写;长整型
    • visible - 读/写;布尔型
    • workspacePath - 只读;字符串型

LegendElement

  • 方法

    • adjustColumnCount(column_count)
  • 属性
    • autoAdd - 读/写;布尔型
    • elementHeight - 读/写;双精度型
    • elementPositionX - 读/写;双精度型
    • elementPositionY - 读/写;双精度型
    • elementWidth - 读/写;字符串型
    • items - 只读;Python 字符串列表
    • name - 读/写;字符串型
    • parentDataFrameName - 只读;字符串型
    • title - 读/写;字符串型
    • type - 只读;字符串型

MapDocument

  • 方法

    • deleteThumbnail()
    • findAndReplaceWorkspacePaths(find_workspace_path, replace_workspace_path, {validate})
    • makeThumbnail()
    • replaceWorkspaces(old_workspace_path, old_workspace_type, new_workspace_path, new_workspace_type, {validate})
    • save()
    • saveACopy(file_name, {version})
  • 属性
    • activeView - 读/写;字符串型
    • author - 读/写;字符串型
    • credits - 只读;字符串型
    • dataDrivenPages - 只读;DataDrivenPages 对象
    • dateExported - 只读;Python datetime 对象
    • datePrinted - 只读;Python datetime 对象
    • dateSaved - 只读;Python datetime 对象
    • description - 读/写;字符串型
    • filePath - 只读;字符串型
    • hyperlinkBase - 读/写;字符串型
    • relativePaths - 只读;布尔型
    • summary - 读/写;字符串型
    • tags - 读/写;字符串型
    • title - 读/写;字符串型

MapsurroundElement

  • 属性

    • elementHeight - 读/写;双精度型
    • elementPositionX - 读/写;双精度型
    • elementPositionY - 读/写;双精度型
    • elementWidth - 读/写;字符串型
    • name - 读/写;字符串型
    • parentDataFrameName - 只读;字符串型
    • type - 只读;字符串型

PDFDocument

  • 方法

    • appendPages(pdf_path, {input_pdf_password})
    • attachFile(file_path, {description})
    • insertPages(pdf_path, {before_page_number}, {input_pdf_password})
    • saveAndClose()
    • updateDocProperties({pdf_title}, {pdf_author}, {pdf_subject}, {pdf_keywords}, {pdf_open_view}, {pdf_layout})
    • updateDocSecurity({new_master_password}, {new_user_password}, {encryption}, {permissions})
  • 属性:
    • pageCount - 只读;长整型

PictureElement

  • 属性

    • elementHeight - 读/写;双精度型
    • elementPositionX - 读/写;双精度型
    • elementPositionY - 读/写;双精度型
    • elementWidth - 读/写;字符串型
    • name - 读/写;字符串型
    • sourceImage - 读/写;字符串型
    • type - 只读;字符串型

TableView

  • 方法

    • findAndReplaceWorkspacePath(find_workspace_path, replace_workspace_path, {validate})
    • replaceDataSource(workspace_path, workspace_type, dataset_name, {validate})
  • 属性
    • datasetName - 只读;字符串型
    • dataSource - 只读;字符串型
    • definitionQuery - 读/写;字符串型
    • name - 读/写;字符串型
    • workspacePath - 只读;字符串型

TextElement

  • 属性

    • elementHeight - 读/写;双精度型
    • elementPositionX - 读/写;双精度型
    • elementPositionY - 读/写;双精度型
    • elementWidth - 读/写;字符串型
    • name - 读/写;字符串型
    • text - 读/写;字符串型
    • type - 只读;字符串型

按字母顺序排序的 arcpy.mapping 类列表的更多相关文章

  1. 【C++ 字符串题目】 输入三个人名,按字母顺序排序输出

    题目来源:https://acm.ujn.edu.cn Problem A: [C++ 字符串] 输入三个人名,按字母顺序排序输出 Time Limit: 1 Sec  Memory Limit: 1 ...

  2. Map的内容按字母顺序排序

    map有自带的排序功能,但需要重写排序方法,代码如下: package coreJava.com.shindo.corejava.map; import java.util.ArrayList; im ...

  3. 实现List按与一个字符串的相似度和字母顺序排序(适用于模糊查询后的排序)

    因公司业务需要,自己写了一个,保存起来以后可能还会用到.如果还有更好的方法或者算法,希望大家提出来. 1.简单的相似度算法(自己想到的)      因为List中每个String都会包含一个标准的字符 ...

  4. mysql如何给汉字按照首字母顺序排序

    select * from 表名 order by convert(列明 USING gbk) COLLATE gbk_chinese_ci asc

  5. url参数用&拼接并且按照字母顺序排序方法

    private string urlParamManager(JObject postArray, bool flag) { ArrayList keys = new ArrayList(); for ...

  6. sql按照汉字首字母顺序排序(桃)

    SELECT * FROM 表名 order by CONVERT(字段名 USING gbk)

  7. 【281】◀▶ arcpy.mapping 常用类说明

    arcpy.mapping 教程入门 arcpy.mapping 指导原则 按字母顺序排序的 arcpy.mpping 类列表 按字母顺序排序的 arcpy.mpping 函数列表 按字母顺序排序的 ...

  8. 【282】◀▶ arcpy.mapping 常用函数说明

    arcpy.mapping 教程入门 arcpy.mapping 指导原则 按字母顺序排序的 arcpy.mpping 类列表 按字母顺序排序的 arcpy.mpping 函数列表 按字母顺序排序的 ...

  9. Java Object类 instanceof关键字 练习:判断是否为同一人 集合按照人的年龄排序,如果年龄相同按名字的字母顺序升序 Comparator比较器

    package com.swift; public class Same_Person_Test { public static void main(String[] args) { /* * Obj ...

随机推荐

  1. [转] Symbol对象

    GIS中的离散实体有三种:点.线.面,在ArcEngine中用三种符号对应表示,分别是:MarkSymbol.LineSymbol和FillSymbol.此外还有TextSymbol用于文字标注,3D ...

  2. Kooboo CMS的安装步骤

    Kooboo CMS的安装步骤 来自Kooboo document 跳转到: 导航, 搜索 http://www.microsoft.com/web/gallery/install.aspx?appi ...

  3. HDU 5700 区间交 线段树暴力

    枚举左端点,然后在线段树内,更新所有左边界小于当前点的区间的右端点,然后查线段树二分查第k大就好 #include <cstdio> #include <cstring> #i ...

  4. 房租管理小软件(四):对linq的使用

    1.对LInq的封装如下: private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMap ...

  5. [tensorflow in a nutshell] tensorflow简明教程 (第一部分)

    原文链接: https://medium.com/@camrongodbout/tensorflow-in-a-nutshell-part-one-basics-3f4403709c9d#.31jv5 ...

  6. Windows内核编程之:分页内存与非分页内存 #define PAGEDCODE code_seg("PAGE") (转)

    原文链接:http://blog.chinaunix.net/uid-24504987-id-161192.html Windows规定有些虚拟内存可以交换到文件中,这类内存被称为分页内存 有些虚拟内 ...

  7. Magento输入正确的登陆名和密码无法进入后台

    请找到 这个文件夹: app\code\core\Mage\Core\Model\Session\Abstract 然后修改Varien.php这个文件: 找到代码(大约88行): $cookiePa ...

  8. setBackgroundMusicLoop for cocos2dx

    给cocos2dx的SimpleAudioEngine加上设置背景音乐循环的方法,详见gist.

  9. BNUOJ-26475 Cookie Selection 堆,线段树等

    题目链接:http://www.bnuoj.com/bnuoj/problem_show.php?pid=26475 题意:每次输入一个操作,如果是数字,那么放入一个容器中,如果是#号,取出当前容器中 ...

  10. HDU-4704 Sum 大数幂取模

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4704 题意:求a^n%m的结果,其中n为大数. S(1)+S(2)+...+S(N)等于2^(n-1) ...