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

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

Generate Routes

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

概要

Re-creates shapes and applies calibration changes for route features in an LRS Network.

使用法

  • Input the LRS Network whose features need to be regenerated or need calibration changes applied based on the route shape from the centerline feature class, and measure values from the calibration point feature class.

  • An LRS dataset is required to run this tool.

  • When conflict prevention is enabled for the tool, any events being generated by the tool will be locked.

    • While working in the default version, the locks acquired are released automatically when the tool completes.
    • While working in a child version, the locks acquired will remain in On Post status when the tool completes. The lock owner must post or delete the version to release the locks.
    • While working in a child version, if the execution of the tool is canceled by interruption, the locks are acquired and will remain in releasable status when the tool completes.

構文

arcpy.locref.GenerateRoutes(in_network)
パラメーター説明データ タイプ
in_network

The LRS Network for which route shapes will be regenerated and calibration changes will be applied.

Feature Layer

派生した出力

名前説明データ タイプ
out_feature

The updated feature class.

Feature Class

コードのサンプル

GenerateRoutes example (Python window)

The following Python window script demonstrates how to use GenerateRoutes in immediate mode.

# tool variables
in_network = "MilePoint"

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

# execute the tool
arcpy.GenerateRoutes_locref(in_network)
GenerateRoutes example (stand-alone script)

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

# Name: GenerateRoutes.py
# Description: Re-creates shapes and calibration for routes features in a LRS Network
# Requirements: ArcGIS Pipeline Referencing or Roads and Highways

# Import arcpy module
import arcpy

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

# Local variables
# input Network layer
in_network = "C:\\RoadsAndHighways\\Data\RH_DOT.gdb\\LRSN_County"

# Process: Generate Routes
arcpy.GenerateRoutes_locref(in_network)

環境

  • 現在のワークスペース

ライセンス情報

  • 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. | プライバシー | リーガル