ArcGIS for Desktop

  • Documentación
  • Precios
  • Soporte

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS for Desktop

Un completo SIG profesional

ArcGIS for Server

SIG en tu empresa

ArcGIS for Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Precios
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

Help

  • Inicio
  • Introducción
  • Mapa
  • Analizar
  • Administrar datos
  • Herramientas
  • Más...

ListDirectionsStyleNames

  • Resumen
  • Debate
  • Sintaxis
  • Ejemplo de código

Resumen

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.

Debate

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.

Sintaxis

ListDirectionsStyleNames (network_dataset_path)
ParámetroExplicaciónTipo de datos
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

Valor de retorno

Tipo de datosExplicación
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.

Ejemplo de código

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)

Temas relacionados

  • StreetDirectionsProperties
¿Algún comentario sobre este tema?

ArcGIS for Desktop

  • Inicio
  • Documentación
  • Precios
  • Soporte

Plataforma ArcGIS

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

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog interno
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacidad | Legal