ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • ArcGIS Pro
  • ArcMap
ArcGIS Desktop

ArcGIS Online

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

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

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.

  • ArcGIS Pro
  • ArcMap
Esri
English
  • English
  • Deutsch
  • Español
  • Français
  • 日本語
  • Русский
  • 简体中文
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones
  • Extensiones
  • Representación cartográfica de producción
  • ArcPyProduction
  • Aviation Charting module
  • Functions
  • Arriba
  • Introduction to arcpyproduction.aviation.charting
  • Classes

    • AviationChartInfo

    Functions

    • CartoCommander
    • ChangeReporter
    • CreateAirspaceAreas
    • CreateAirspaceLines
    • DeriveAirspaceGeometry
    • CreateFeatureLinkedAnnotation
    • GenerateCheckSum
    • GetAviationAOI
    • GetUnqualifiedName
    • UpdateAnnotation
    • UpdateTerminalElements

    GetUnqualifiedName

    La documentación de ArcGIS 10.4 se ha archivadod y ha dejado de actualizarse. El contenido y los enlaces pueden estar obsoletos. Consulte la documentación más reciente.
    • Resumen
    • Debate
    • Sintaxis
    • Muestra de código

    Resumen

    Returns the unqualified name of the dataset sourced to the given input layer.

    Licencia:

    This function requires an ArcGIS for Aviation license.

    Debate

    You can use this function to get the unqualified name of the dataset behind an ArcMap layer. When using an enterprise geodatabase, visual specifications and the aviation annotation functions require the use of unqualified feature class names. Since the name of a layer in an MXD may be different from its underlying feature class name, GetUnqualifiedName should be used to also ensure that the actual feature class name is used rather than the layer name. Similarly, different databases may fully qualify a feature class' name with additional information (such as database and user). GetUnqualifiedName ensures that if the layer is sourced to such a database, only the feature class name will be used.

    Sintaxis

    GetUnqualifiedName (layer)
    ParámetroExplicaciónTipo de datos
    layer

    The layer from whose dataset the unqualified name will be retrieved.

    Layer

    Valor de retorno

    Tipo de datosExplicación
    String

    The unqualified name of the input layer’s dataset.

    Muestra de código

    GetUnqualifiedName example

    This script returns the unqualified name of the specified layer.

    # Name: GetUnqualifiedNameExample.py
    # Description: The GetUnqualifiedName function returns the unqualified 
    #   name of the dataset sourced to the given input layer.
    # Author: Esri
    # Date: April 2015
    
    # Import mapping and aviation charting modules
    import arcpy
    import arcpyproduction
    
    # Check out Aviation license
    arcpy.CheckOutExtension("Aeronautical")
    
    # retrieve layers from mxd
    mxd = arcpy.mapping.MapDocument("CURRENT")
    layers = arcpy.mapping.ListLayers(mxd)
    
    # print each layer's name and its dataset's unqualified name
    if len(layers) > 0:
        for l in layers:
            unqualified_name = arcpyproduction.aviation.charting.GetUnqualifiedName(l)
            print l.name, unqualified_name
    
    # Check in Aviation license
    arcpy.CheckInExtension("Aeronautical")
    

    ArcGIS Desktop

    • Inicio
    • ArcGIS Pro
    • ArcMap
    • Documentación
    • Soporte

    ArcGIS

    • ArcGIS Online
    • ArcGIS Desktop
    • ArcGIS Enterprise
    • ArcGIS Platform
    • ArcGIS Developer
    • 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