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

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

Detect Overlaps For Linear Events

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

描述

Checks routes on the network for overlaps between linear events.

使用方法

  • The input Event Layer must be one of the linear event tables registered with the input Network Layer.

  • The Output Feature Class represents the overlaps between linear events.

  • The Output Feature Class contains the following fields: NetworkName, RouteID, TVD (Temporal View Date), EventLayer, FromMeasure and ToMeasure.

语法

arcpy.locref.DetectOverlapsForLinearEvents(in_network, in_event, out_feature, {in_tvd}, {in_from_measure}, {in_to_measure}, {in_tolerance})
参数说明数据类型
in_network

The network containing the linear event features to be checked for overlaps.

Feature Layer
in_event

The linear event features to be checked for overlaps.

Feature Layer
out_feature

The output feature class containing lines where there are overlapping events.

Feature Class
in_tvd
(可选)

The temporal view date for the network.

Date
in_from_measure
(可选)

Defines the lower bound of the portion of the route on which overlaps will be detected.

Double
in_to_measure
(可选)

Defines the upper bound of the portion of the route on which overlaps will be detected.

Double
in_tolerance
(可选)

Tolerance, in Linear Referencing Method (LRM) units, used to compare events on routes.

Double

代码示例

DetectOverlapsForLinearEvents example 1 (in-line)

The following Python window script demonstrates how to use the DetectOverlapsForLinearEvents function in immediate mode.

# tool variables
in_network = "MilePoint"
in_event = "Functional_Class"
out_feature = "Overlaps_Output"
in_tvd = "2/28/2014"
in_to_measure = ""
in_from_measure = ""
in_tolerance = ""

# set current workspace
arcpy.env.workspace = "C:/data/Outputs.gdb"

# execute the tool
arcpy.DetectOverlapsForLinearEvents_locref(in_network, in_event, out_feature, in_tvd, in_to_measure, in_from_measure, in_tolerance)
DetectOverlapsForLinearEvents example 2 (stand-alone Python script)

The following Python script demonstrates how to use DetectOverlapsforLinearEvents in a stand-alone Python script.

# Name: Detect OverlapsForLinearEvents.py
# Description: Convert Roads and Highways Network Layer to Feature Layer and Detect Overlaps for Linear Events in a file geodatabase

# Import arcpy module
import arcpy

# Check out any necessary licenses
arcpy.CheckOutExtension("Highways")

# Local variables
network = r"C:\Data\NY_Data.gdb\LRSN_MilePoint"
event = r"C:\Data\NY_Data.gdb\LRSE_Speed_Limit"
overlaps_Output = r"C:\Data\Outputs.gdb\Gaps_Output"

# Process: Detect Overlaps for linear events
arcpy.env.overwriteOutput = 1
arcpy.DetectOverlapsForLinearEvents_locref(network, event, overlaps_Output)

环境

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

许可信息

  • Basic: 需要 Roads and Highways
  • Standard: 需要 Roads and Highways
  • Advanced: 需要 Roads and Highways

相关主题

  • An overview of the Location Referencing toolbox

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

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

关于 Esri

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