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 Measures Out Of Range

  • 概要
  • 使用法
  • 構文
  • コードのサンプル
  • 環境
  • ライセンス情報

概要

Checks routes on a network for out-of-range line and point event measures.

使用法

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

  • Out-of-range event measures are defined as:

    • Less than a route's minimum measure
    • Greater than a route's maximum measure
    • Within a gap between route measures

  • The Output Feature Class represents events with measures out of range. If the entire event is out of range, the output shape will be <null>. If a portion of the event is out of range, the output shape will represent the valid portion.

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

構文

arcpy.locref.DetectMeasuresOutOfRange(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 measures out of range.

Feature Layer
in_event

The linear event features to be checked for measures out of range.

Feature Layer
out_feature

The output feature class containing lines where the measures are out of range.

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 out-of-range measures will be detected.

Double
in_to_measure
(オプション)

Defines the upper bound of the portion of the route on which out-of-range measures will be detected.

Double
in_tolerance
(オプション)

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

Double

コードのサンプル

DetectMeasuresOutOfRange example 1 (Python window)

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

# tool variables
in_network = "MileMarker"
in_event = "Event"
out_features = "invalid_Measure_Output"
in_tvd = "2/28/2014"
in_from_measure = ""
in_to_measure = ""
in_tolerance = ""

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

# execute the tool
arcpy.DetectGapsForLinearEvents_locref(in_network, in_event, out_features, in_tvd, "", "", "")
DetectMeasuresOutOfRange example 2 (stand-alone script)

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

# Name: Detect Measures Out of Range.py
# Description: Convert Roads and Highways Network Layer to Layer and Detect Measures Out Of Range for 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"
invalid_Measure_Output = r"C:\Data\Outputs.gdb\Invalid_Measure_Output"

# Process: Detect Measure out of range for event
arcpy.env.overwriteOutput = 1
arcpy.DetectMeasuresOutOfRange_locref(network, event, invalid_Measure_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 Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2021 Esri. | プライバシー | リーガル