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.5.0a2.tar.gz
(38.7 kB
view details)
File details
Details for the file pylas-0.5.0a2.tar.gz
.
File metadata
- Download URL: pylas-0.5.0a2.tar.gz
- Upload date:
- Size: 38.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200712 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b39fc784593d7722b36afc5f4876805758c2fafb0f59aa967dfb95aaf50a6c20 |
|
MD5 | 3db52b71094a341b9d54d054e7802e6c |
|
BLAKE2b-256 | d6270f7c3e657e2c88eb42d5c6fe0be5f95dacfbd1855c2626ae3d606e3e14fb |