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.

The repository for PDAL’s Python extension is available at https://github.com/PDAL/python

It is released independently from PDAL itself as of PDAL 1.7.

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 = 8 #really noisy
count = pipeline.execute()
arrays = pipeline.arrays
metadata = pipeline.metadata
log = pipeline.log
https://travis-ci.org/PDAL/python.svg?branch=master

Requirements

  • PDAL 1.7+

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

  • Cython (eg pip install cython)

  • Packaging (eg pip install packaging)

Changes

2.0.0

  • PDAL Python extension is now in its own repository on its own release schedule at https://github.com/PDAL/python

  • Extension now builds and works under PDAL OSGeo4W64 on Windows.

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-2.1.0rc3.tar.gz (65.8 kB view details)

Uploaded Source

File details

Details for the file PDAL-2.1.0rc3.tar.gz.

File metadata

  • Download URL: PDAL-2.1.0rc3.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for PDAL-2.1.0rc3.tar.gz
Algorithm Hash digest
SHA256 3fb3dd1482f472cf7af9321552e86bce6cacfebf411edbd7c4dd48a1af17bc1e
MD5 4817c8bda1d05b2d9b9d7ec4a935c79f
BLAKE2b-256 e3e2788ae6ce89d0bceee1b5e0b8bc75e385867a23021818999c4b02e486de89

See more details on using hashes here.

Provenance

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