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

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

Symbolize by Line Thickness

获得 Business Analyst 许可后可用。

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

描述

Thematically maps a feature class based on a numeric field and displays it as a symbolized line.

使用方法

  • You can display lines at different thicknesses to represent different values.

  • Graduated symbols work best for counts and amounts, since most people associate the size of the symbol with magnitude.

  • You can use this tool to display road segments with different thicknesses based on traffic volume during rush hour.

  • This tool can be used in conjunction with the Desire Lines tool. Desire lines can be displayed by total sales or number of visits for each customer.

语法

arcpy.ba.SymbolizeByLineThickness(InputFeatureLayer, Field, ClassificationSchemeParameterName, ColorParameterName, {NameField}, {UseSelectedFeatures})
参数说明数据类型
InputFeatureLayer

The input feature layer.

Feature Layer
Field

The attribute field used to define the thematic map.

Field
ClassificationSchemeParameterName

The classification method to thematically map your input feature class.

  • Natural Breaks —Uses natural breaks classification to produce a thematic map.
  • Std Deviation —Uses standard deviation classification method to a produce a thematic map.
  • Equal Interval —Uses equal interval classification method to produce a thematic map.
  • Quantile —Uses quantile classification method to produce a thematic map.
String
ColorParameterName

The color assigned to the lines to be symbolized.

Long
NameField
(可选)

The attribute field used in the normalization calculations.

Field
UseSelectedFeatures
true false
(可选)

Identifies the features that will be used to generate the thematic map.

  • True —Uses only selected features to generate the thematic map.
  • False —Uses all features to generate the thematic map. This is the default.
Boolean

代码示例

SymbolizeByLineThickness example (stand-alone script)

# Name: SymbolizeByLineThickness.py
# Description: Symbolizes road layer by predefined line thickness.
# Author: Esri

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox(r"C:\Program Files (x86)\ArcGIS\Desktop10.8\Business Analyst\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")

try:
# Acquire extension license 
  arcpy.CheckOutExtension("Business") 
 
# Defines the parameters for the Symbolize by Line Thickness tool
# Red point is -65536
  InputFeatureLayer = "C:/temp/roads.shp"
  Field = "FID"
  ClassificationSchemeParameterName = "Equal Interval"
  ColorParameterName = -65536
 
# Thematically symbolizes a layer by line thickness
  arcpy.SymbolizeByLineThickness_ba(InputFeatureLayer, Field, ClassificationSchemeParameterName, ColorParameterName)
 
# Release extension license 
arcpy.CheckInExtension("Business")

环境

此工具不使用任何地理处理环境。

许可信息

  • Basic: 需要 Business Analyst
  • Standard: 需要 Business Analyst
  • Advanced: 需要 Business Analyst

相关主题

  • An overview of the Business Analyst Thematic Maps toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

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

关于 Esri

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