ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

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

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS for Developers

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

ArcGIS Solutions

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

ArcGIS Marketplace

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

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

ArcMap

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

Suppress Spot Heights

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

摘要

Esri Defense Mapping cartographic production tool that suppresses the symbol for spot heights based on the input product type. Suppressing a symbol refers to setting a representation invisible.

用法

  • This tool uses the Make Representations Invisible tool to suppress spot height symbols.

  • The Input Area of Interest must have an NRN field. The NRN field uniquely identifies an area of interest within the input area of interest features.

  • Suppression uses a search radius to locate spot heights that are close to one another. Spot heights are sorted by elevation in descending order. This tool suppresses lower spot heights that fall within the search radius of a higher spot height.

  • Suppression refers to making a representation within a feature class invisible. If no representation has been defined on the Input Spot Height Features, the tool returns Error 000735: Representation: Value is required.

语法

SuppressSpotHeights(Input_Area_of_Interest, Product_Type, Data_Model_Version, Search_Distance, Input_Spot_Height_Features, Delete_Spot_Height_Features)
参数说明数据类型
Input_Area_of_Interest

A feature layer that describes the processing extent. The tool suppresses spot heights found in each feature in the feature layer. Select features in this feature layer to limit the processing area.

Feature Layer
Product_Type

Used with Data_Model_Version to determine the Defense Mapping specification. The specification equates to a representation name in a Defense Mapping data model.

  • MDG50_MGCP —Representations specific to product MDG50_MGCP
  • MDG50_TLM —Representations specific to product MDG50_TLM
  • MDG100_MGCP —Representations specific to product MDG100_MGCP
  • MDG100_TLM —Representations specific to product MDG100_TLM
  • LDG50_NSG —Representations specific to product LDG50_NSG
  • LDG100_NSG —Representations specific to product LDG100_NSG
String
Data_Model_Version

Used with Product_Type to determine the Defense Mapping specification. The specification equates to a representation name in a Defense Mapping data model.

  • TRD2 —Representations specific to MDG* product types
  • TRD3 —Representations specific to MDG* product types
  • TRD4 —Representations specific to MDG* product types
  • LTDS_4_0 —Representations specific to LDG* product types
  • LTDS_5_0 —Representations specific to LDG* product types
String
Search_Distance

Search distance to locate spot heights that are close to other spot heights. Spot heights found within this distance will be made invisible.

Linear unit
Input_Spot_Height_Features

An existing Defense Mapping point feature layer in which representations will be made invisible.

Feature Layer
Delete_Spot_Height_Features

Determines if this tool will delete spot heights or suppress the representation.

  • SUPPRESS_FEATURES —Suppresses the representation of the point features. This is the default.
  • DELETE_FEATURES —Deletes spot height features.
Boolean

代码示例

SuppressSpotHeights example (Python window)

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

# set gp environment
arcpy.env.workspace="c:/data/defense.gdb"
arcpy.env.addOutputsToMap = True

# local variables
areaOfInterest = "C:/Program Files (x86)/ArcGIS/EsriDefenseMapping/Desktop10.1/ReferenceData/MapIndex.mdb/MapIndex/TLM100_Index"
areaOfInterestLyr="TLM100IDX"
whereclause="NRN='V695X1856'"
productType="MDG100_MGCP"
dataModel="TRD2"
searchDistance="1300 meters"
spotHeightFeatures="Features/ElevP"
spotHeightFeaturesLyr="ElevPLyr"
deleteSpotHeightFeatures = "DELETE_FEATURES"

# make a feature layer from area of interest and spot heights
arcpy.MakeFeatureLayer_management(spotHeightFeatures,spotHeightFeaturesLyr)
arcpy.MakeFeatureLayer_management(areaOfInterest,areaOfInterestLyr)
arcpy.SelectLayerByAttribute_management(areaOfInterestLyr,"NEW_SELECTION",whereclause)

desc=arcpy.Describe(areaOfInterestLyr)
fidlist=desc.FIDSet.split(";")
if len(fidlist) == 1:
    # suppress the spot heights
    arcpy.SuppressSpotHeights_defense(areaOfInterestLyr, productType, dataModel,searchDistance,spotHeightFeaturesLyr,deleteSpotHeightFeatures)

环境

  • 当前工作空间

许可信息

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

相关主题

  • An overview of the Cartographic Refinement toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

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

关于 Esri

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