Skip to main content

Point cloud data processing

Project description

The PDAL Python extension allows you to process data with PDAL into Numpy arrays. Additionally, you can use it to fetch schema and metadata from PDAL operations.

Usage

Given the following pipeline, which simply reads an ASPRS LAS file and sorts it by the X dimension:

json = """
{
  "pipeline": [
    "1.2-with-color.las",
    {
        "type": "filters.sort",
        "dimension": "X"
    }
  ]
}"""

import pdal
pipeline = pdal.Pipeline(json)
pipeline.validate() # check if our JSON and options were good
pipeline.loglevel = 9 #really noisy
count = pipeline.execute()
arrays = pipeline.arrays
metadata = pipeline.metadata
log = pipeline.log

Requirements

  • PDAL 1.4+

  • Python >=2.7 (including Python 3.x)

Changes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PDAL-1.6.0.tar.gz (49.5 kB view hashes)

Uploaded Source

Built Distribution

PDAL-1.6.0-py3.6-win-amd64.egg (109.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page