Skip to main content

Las/Laz reading and writing in python

Project description

pylas

Another way of reading LAS/LAZ in Python.

Documentation Status https://travis-ci.org/tmontaigu/pylas.svg?branch=master

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.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


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.3.4.tar.gz (28.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pylas-0.3.4.tar.gz
  • Upload date:
  • Size: 28.8 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

Hashes for pylas-0.3.4.tar.gz
Algorithm Hash digest
SHA256 10a5d52ebb3f8264b16049db79fbd945f296a6841e4d2b73db993767f82aef4d
MD5 d5ad4933064fe53161be2957bfc733ea
BLAKE2b-256 2ea5493aeef793acef7777a4aefeff34cc71f776a8c9af04ecdfb01b7e2d5fb3

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