Skip to main content
Help us improve Python packaging – donate today!

Las/Laz reading and writing in python

Project Description

pylas

Another way of reading LAS/LAZ in Python.

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)

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

Release history Release notifications

This version
History Node

0.1.3

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pylas-0.1.3.tar.gz (23.2 kB) Copy SHA256 hash SHA256 Source None Apr 16, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page