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(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
Release history Release notifications | RSS feed
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.1.tar.gz
(31.6 kB
view details)
File details
Details for the file pylas-0.4.1.tar.gz
.
File metadata
- Download URL: pylas-0.4.1.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1f3d270e02b3cb1763b55f289cc9b7086b8a0350ff9cbd73c349a338a94f5f7 |
|
MD5 | 74ccc2ee57a834be71547e560b960b27 |
|
BLAKE2b-256 | c3ab88e98e455260e1c7600f9653ecb36a895eb5c2b0b9087d592a5b2b96f0ed |