Skip to main content

Las/Laz reading and writing in python

Project description

pylas

Another way of reading LAS/LAZ in Python.

Documentation Status https://travis-ci.org/tmontaigu/pylas.svg?branch=master

Example

import pylas

# Directly read and write las
las = pylas.read('filename.las')
las = pylas.convert(las, point_format_id=2)
las.write('converted.las')

# Open data to inspect header and then read
with pylas.open('filename.las') as f:
    if f.header.point_count < 10 ** 8:
        las = f.read()
print(las.vlrs)

Some rough documentation is available on ReadTheDocs .

Dependencies & Requirements

Python 3 Only.

lazperf is an optional, but recommended dependency that allows pylas to read and write compressed LAZ files.

Installation

pip install pylas

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

pylas-0.4.3.tar.gz (31.6 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