ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

LAS Dataset properties

  • Summary
  • Properties
  • Code sample

Summary

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".

Properties

PropertyExplanationData Type
constraintCount
(Read Only)

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

Long
fileCount
(Read Only)

The number of LAS files referenced by the LAS dataset.

Long
hasStatistics
(Read Only)

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

Boolean
needsUpdateStatistics
(Read Only)

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

Boolean
pointCount
(Read Only)

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

Long
usesRelativePath
(Read Only)

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

Boolean

Code sample

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

  • Home
  • Documentation
  • Support

ArcGIS

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

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal