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

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

System Junction Source

  • 描述
  • 属性
  • 代码示例

描述

提供有关网络数据集中系统交汇点源的信息。

属性

属性说明数据类型
name
(只读)

与该网络源相关的要素类名称。

String
sourceID
(只读)

网络数据集内此网络源的唯一标识符。

Integer
sourceType
(只读)

网络源类型。此属性返回以下关键字:

  • EdgeFeature
  • JunctionFeature
  • SystemJunction
  • TurnFeature
  • NetworkSource

String
elementType
(只读)

网络源的网络元素类型。此属性返回以下关键字:

  • 边
  • 交汇点
  • 转弯

String
elevationFieldName
(只读)

确定重合顶点处的连通性时,用作高程字段的字段名。

String

代码示例

系统交汇点源属性示例

显示网络数据集中系统交汇点源的信息。

# Name: NDSSystemJunctionSourceProperties_ex01.py
# Description: Print the information about the system junction sources 
#              defined for the network dataset

import arcpy
import sys

# Set workspace
arcpy.env.workspace = "C:/Data/SanFrancisco.gdb/Transportation"

#Create a Describe object from the network dataset
desc = arcpy.Describe("Streets_ND")

justify = 35
print ("------- System junction source")

#SDC network datasets do not have system junction source.
networktype = desc.networkType 
if networktype.lower() == "sdc": 
    print ("%*s" % (justify, "(No system junction source)")) 
    sys.exit(0)

#Get the system junction source for the network dataset.
sjSource = desc.systemJunctionSource 
if not sjSource: 
    print ("%*s" % (justify, "(No system junction sources)")) 
    sys.exit(0) 

print ("%*s: %s" % (justify, "Source Name" , sjSource.name)) 
print ("%*s: %s" % (justify, "Source ID" , str(sjSource.sourceID))) 
print ("%*s: %s" % (justify, "Source Type", sjSource.sourceType))
print ("%*s: %s" % (justify, "Element Type", sjSource.elementType))
print (" %*s: %s" % (justify, "Elevation Field",sjSource.elevationFieldName))
print (" ")

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

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

关于 Esri

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