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

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

ListDirectionsStyleNames

  • 概要
  • ディスカッション
  • 構文
  • コードのサンプル

概要

Returns a list of the available styles for generating directions from a route created during network analysis. Each directions style is appropriate for a different application.

ディスカッション

This function can be used in a custom script tool validation to populate a ValueList of available directions styles for the user to choose from, similar to the Directions Style Name parameter of the Find Closest Facilities tool.

構文

ListDirectionsStyleNames (network_dataset_path)
パラメーター説明データ タイプ
network_dataset_path

A variable that references the catalog path of the network dataset. The catalog path of a network dataset can be obtained from the dataSource property of a network dataset layer or a network analysis layer object. It can also be obtained from the catalogPath property of a network dataset describe object.

The parameter also accepts a network dataset layer object.

String

戻り値

データ タイプ説明
String

The list of available directions styles containing strings representing the styles installed on your machine. It is a subset of the following styles:

  • NA Desktop —This style generates turn-by-turn directions suitable for printing.
  • NA Navigation —This style generates turn-by-turn directions designed for an in-vehicle navigation device.
  • NA Campus —This style generates turn-by-turn directions suitable for indoor and outdoor pedestrian routing.

コードのサンプル

ListDirectionsStyleNames example

Reads a network dataset and lists its supported styles.

# Path to an on-disk network dataset
nds = r'C:Data/SanDiego.gdb/Transportation/Streets_ND'

# Create a list of directions styles available in the network dataset
dir_styles = arcpy.na.ListDirectionsStyleNames(nds)

関連トピック

  • StreetDirectionsProperties

ArcGIS Desktop

  • ホーム
  • ドキュメント
  • サポート

ArcGIS

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

Esri について

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