Skip to main content

Las/Laz reading and writing in python

Project description

pylas

Another way of reading LAS/LAZ in Python.

Documentation Status

Example

import pylas

# Directly read and write las
las = pylas.read('filename.las')
las = pylas.convert(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.number_of_point_records < 10 ** 8:
        las = f.read()
print(las.vlrs)

Some rough documentation is available on ReadTheDocs .

Dependencies & Requirements

Python 3 Only.

lazperf is an optionnal, 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.1.4.tar.gz (25.0 kB view details)

Uploaded Source

File details

Details for the file pylas-0.1.4.tar.gz.

File metadata

  • Download URL: pylas-0.1.4.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pylas-0.1.4.tar.gz
Algorithm Hash digest
SHA256 807fbcb2077f5117792c9d6a2f228f993616a5ecb0c03a9065b40f9b96ab90ea
MD5 cb751d77f7990b68f3e6f8d1f7f3313b
BLAKE2b-256 ba44e8079fef96ee7bb04cf62b325576766fe28b871077bfd48f0363485e399e

See more details on using hashes here.

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