ArcGIS for Desktop

  • Dokumentation
  • Preise
  • Support

  • My Profile
  • Hilfe
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

Die Mapping-Plattform für Ihre Organisation

ArcGIS for Desktop

Ein vollständiges professionelles GIS

ArcGIS for Server

GIS in Ihrem Unternehmen

ArcGIS for Developers

Werkzeuge zum Erstellen standortbezogener Apps

ArcGIS Solutions

Kostenlose Karten- und App-Vorlagen für Ihre Branche

ArcGIS Marketplace

Rufen Sie Apps und Daten für Ihre Organisation ab.

  • Dokumentation
  • Preise
  • Support
Esri
  • Anmelden
user
  • Eigenes Profil
  • Abmelden

Help

  • Startseite
  • Erste Schritte
  • Karte
  • Analysieren
  • Verwalten von Daten
  • Werkzeuge
  • Mehr...

ListDirectionsLanguages

  • Zusammenfassung
  • Diskussion
  • Syntax
  • Codebeispiel

Zusammenfassung

Returns a list of the languages in which you can generate directions for the routes you create during network analysis. The list of available languages depends on which directions language packs you have installed on your machine.

Diskussion

The choice of available languages depends on the ArcGIS language packs you have installed. To support more languages in your directions, install more language packs.

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

Syntax

ListDirectionsLanguages (network_dataset_path)
ParameterErläuterungDatentyp
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.

String

Rückgabewert

DatentypErläuterung
String

The output list of available directions languages contains two- or five-character strings representing the languages installed on your machine. It will be a subset of the following languages:

  • ar —Arabic
  • de —German
  • en —English
  • es —Spanish
  • fr —French
  • it —Italian
  • ja —Japanese
  • pt-BR —Brazilian Portuguese
  • ru —Russian
  • zh-CN —Simplified Chinese

Codebeispiel

Reads the available languages from the network dataset and stores them in a variable.

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

# Create a list of directions languages available with your ArcGIS installation
languages = arcpy.na.ListDirectionsLanguages(nds)

Verwandte Themen

  • StreetDirectionsProperties
Feedback zu diesem Thema?

ArcGIS for Desktop

  • Startseite
  • Dokumentation
  • Preise
  • Support

ArcGIS Plattform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

Über Esri

  • Über uns
  • Karriere
  • Insider-Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Datenschutz | Rechtliches