ArcGIS Desktop

  • 文档
  • 支持

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS for Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

Help

  • 主页
  • 入门
  • 制图
  • 分析
  • 管理数据
  • 工具
  • 更多...

Create Adjoining Sheet Guide Data

  • 摘要
  • 用法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

摘要

Esri Defense Mapping cartographic production tool that creates data used in the adjoining sheet guide of defense mapping templates. This tool uses an input area of interest (AOI) to find surrounding areas of interest. It creates data within those AOIs in the ASG_COAST_L and ASG_LAND_A feature classes.

用法

  • Input Geodatabase must contain a CARTO dataset. The tool returns error Input geodatabase does not contain the Esri Defense Mapping CARTO feature dataset if the dataset cannot be found. The CARTO dataset must contain the following feature classes:

    • ASG_SHEETS_A
    • ASG_SHEETS_L
    • ASG_AOI
    • ASG_LAND_A
    • ASG_COAST_L

    The tool returns error CARTO dataset is missing required feature class if any of these cannot be found.

  • Input Area of Interest must have one selected feature. The tool returns Input Area of Interest must have only one selected feature if it detects that zero or more than one features are selected.

  • The Scale and Input Area of Interest parameters are used together to locate surrounding areas of interest. The extent of the Input Area of Interest is expanded by a factor specified in MIL-T-89301A for scale 1:50000 or MIL-T-89306 for scale 1:100000. The expanded extent is used to select adjoining areas of interest to include in the adjoining sheet guide.

语法

CreateAdjoiningSheetGuideData_defense (Input_Geodatabase, Input_Area_of_Interest, Input_Land_Features, Scale)
参数说明数据类型
Input_Geodatabase

Geodatabase that contains the CARTO feature dataset and ASG* feature classes. Data created for the adjoining sheet guide is appended to the feature classes in this geodatabase.

Workspace
Input_Area_of_Interest

A feature layer with a single selected feature used to identify the center and surrounding areas of interest (AOIs). Adjoining sheet guide data is created within these AOIs.

Feature Layer
Input_Land_Features

Land features used by the tool to create adjoining sheet guide data in the ASG_COAST_L and ASG_LAND_A feature classes in the input geodatabase.

Feature Layer
Scale

Defines a factor by which the extent of the Input Area of Interest is expanded. The expanded extent is used to select adjoining areas of interest. Data from the adjoining areas of interest is included in the adjoining sheet guide.

  • 1:50000 —Uses specification MIL-T-89301A to determine how to expand the width and height of the extent of the Input Area of Interest.
  • 1:100000 —Uses specification MIL-T-89306 to determine how to expand the width and height of the extent of the Input Area of Interest.
String

代码示例

CreateAdjoiningSheetGuideData example (Python window)

The following code sample demonstrates how to use the CreateAdjoiningSheetGuideData tool.

# set gp environment
arcpy.env.addOutputsToMap = True

# local variables
geodb="c:/data/CARTO.gdb"
areaOfInterest = "C:/Program Files (x86)/ArcGIS/EsriDefenseMapping/Desktop10.1/ReferenceData/MapIndex.mdb/MapIndex/TLM100_Index"
areaOfInterestLyr="TLM100IDX"
whereclause="NRN='V695X1856'"
landFeatures="C:/Program Files (x86)/ArcGIS/EsriDefenseMapping/Desktop10.1/ReferenceData/MapIndex.mdb/MapIndex/LandPoly"
scale="1:50000"

# create a feature layer for processing
arcpy.MakeFeatureLayer_management(areaOfInterest,areaOfInterestLyr)
arcpy.SelectLayerByAttribute_management(areaOfInterestLyr,"NEW_SELECTION",whereclause)

desc=arcpy.Describe(areaOfInterestLyr)
fidlist=desc.FIDSet.split(";")
if len(fidlist) == 1:
    # execute the CreateAdjoiningSheetGuideData tool
    arcpy.CreateAdjoiningSheetGuideData_defense(geodb, areaOfInterestLyr, landFeatures, scale)

环境

  • 当前工作空间

许可信息

  • ArcGIS Desktop Basic: 否
  • ArcGIS Desktop Standard: 否
  • ArcGIS Desktop Advanced: 需要 Defense Mapping

相关主题

  • An overview of the Utilities toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • 内部人员博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2017 Esri. | 隐私政策 | 法律声明