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)
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
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.1.5.tar.gz
(25.0 kB
view details)
File details
Details for the file pylas-0.1.5.tar.gz
.
File metadata
- Download URL: pylas-0.1.5.tar.gz
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e57650b8839641bb24b7672c9d0196c4399b7bbba5e948a66bd37785df81b01 |
|
MD5 | f4e9a5da588faf87b1f99e042ac4f361 |
|
BLAKE2b-256 | f304f17122b49aa3a2b1d31fc0780ba3ac847c89834c2cb2756ddc9ebce2df33 |