ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

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

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

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

ArcGIS Solutions

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

ArcGIS Marketplace

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

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

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Create Location Diagram Data

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

Creates the Location Diagram for a Joint Operations Graphic (JOG) map sheet. The Location Diagram uses the JOG_Index features, WAC_Index features, ONC_Index features, and the LandPoly features for the area surrounding the processed sheet.

使用方法

  • Extract the MapIndex geodatabase from the installed .zip folder before using this tool. The .zip folder is installed at <installation directory>\ArcGIS\EsriDefenseMapping\Desktop<version>\ReferenceData\MapIndex.zip and should be extracted in the same location. You need write permissions to the ReferenceData folder.

    警告:

    By default, Windows extracts the geodatabase into a MapIndex subfolder, but you need to specify the extraction path to the ReferenceData folder.

语法

arcpy.defense.CreateLocationDiagramData(input_geodatabase, input_area_of_interest, input_wac_features, input_onc_features, input_land_features, arrangement)
参数说明数据类型
input_geodatabase

A VMap1JOG geodatabase that contains the CARTO feature dataset and JOG* feature classes. The Location Diagram will be appended to the feature classes in this geodatabase.

Workspace
input_area_of_interest

A polygon feature layer with a single selected feature used to identify the center and surrounding areas of interest (AOIs). The Location Diagram will be created within these AOIs.

Layer
input_wac_features

The WAC features that will used to create the Location Diagram feature classes in the input geodatabase. The default value is <installation directory>\ArcGIS\EsriDefenseMapping\Desktop<version>\ReferenceData\MapIndex.mdb\MapIndex\WAC_Index.

Feature Layer
input_onc_features

The ONC features that will be used to create the Location Diagram feature classes in the input geodatabase. The default value is <installation directory>\ArcGIS\EsriDefenseMapping\Desktop<version>\ReferenceData\MapIndex.mdb\MapIndex\ONC_Index.

Feature Layer
input_land_features

The land features that will be used to create the Location Diagram feature classes in the input geodatabase. The default value is <installation directory>\ArcGIS\EsriDefenseMapping\Desktop<version>\ReferenceData\MapIndex.mdb\MapIndex\LandPoly.

Feature Layer
arrangement

Specifies the arrangement of the JOG map sheet that will be produced.

  • A1 —The map template that will be used for any AOI that is less than 2 degrees wide and between -20 and 20 degrees latitude.
  • A2 —The map template that will be used for any AOI that is less than 2 degrees wide and above 20 degrees or below -20 degrees latitude.
  • A2 Oversized —The map template that will be used for any AOI greater than 2 degrees wide and above 20 degrees or below -20 degrees latitude.
String

派生输出

名称说明数据类型
output_geodatabase

The updated input geodatabase that contains the location diagram feature classes.

Workspace

代码示例

CreateLocationDiagramData example

The following code sample demonstrates how to use the CreateLocationDiagramData function.

# Importing necessary modules and checking out extensions
import arcpy
arcpy.CheckOutExtension('defense')

# Setting variables
jog_index = r'C:\Program Files (x86)\ArcGIS\EsriDefenseMapping\Desktop10.3\ReferenceData\MapIndex.gdb\MapIndex\JOG_Index'
selection_string = "NRN = ''"

# Making feature selection
arcpy.management.MakeFeatureLayer(jog_index, 'jog_index', selection_string)
arcpy.management.SelectLayerByAttribute('jog_index', "NEW_SELECTION")

# Running Location Diagram
Input_Database = r'C:\DATA\VMap1JOG.gdb'
arcpy.defense.CreateLocationDiagramData(Input_Database, 'jog_index', "#", "#", "#", "A2")

环境

  • 临时工作空间

许可信息

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

相关主题

  • An overview of the Utilities toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

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