ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
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 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
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

LAS Dataset properties

  • Resumen
  • Propiedades
  • Muestra de código

Resumen

The Describe function returns the following properties for LAS dataset files. File Properties and Dataset Properties are also supported.

A LAS Dataset returns a dataType of "LasDataset".

Propiedades

PropiedadExplicaciónTipo de datos
constraintCount
(Sólo lectura)

The number of surface constraint features referenced by the LAS dataset.

Long
fileCount
(Sólo lectura)

The number of LAS files referenced by the LAS dataset.

Long
hasStatistics
(Sólo lectura)

Indicates if statistics had been calculated for the LAS files referenced by the LAS dataset.

Boolean
needsUpdateStatistics
(Sólo lectura)

Indicates if statistics are out-of-date or had not been calculated. Returns false if statistics are up-to-date.

Boolean
pointCount
(Sólo lectura)

The number of data points in the LAS files referenced by the LAS dataset.

Long
usesRelativePath
(Sólo lectura)

Indicates if the LAS dataset references its data elements using relative paths.

Boolean

Muestra de código

LAS Dataset properties example (stand-alone script)

The following script demonstrates the application of LAS dataset properties.

import arcpy

desc = arcpy.Describe(r'E:\GIS_Data\lidar\test_bmore.lasd')

if desc.usesRelativePath: 
    pathType = 'Relative'
else: pathType = 'Absolute'

# Determine state of statistics
if desc.needsUpdateStatistics:
    if desc.hasStatistics:
        statistics = 'Out-of-date'
    else:
        statistics = 'Missing'
else:
    statistics = 'Current'


print 'LAS Dataset Name: {0} \r'\
      'Point Count: {1} \r'\
      'Surface Constraint Count: {2} \r'\
      'Path Type: {3} \r'\
      'Statistics Status: {4}'.format(desc.basename, desc.pointCount, 
                                      desc.constraintCount, pathType,
                                      statistics)

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

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

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal