跳转到主要内容

Python中的Las/Laz读写

项目描述

pylas

另一种在Python中读取LAS/LAZ的方法。

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

示例

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)

一些粗略的文档可以在ReadTheDocs上找到。

依赖项和需求

仅Python 3。

lazperf是一个可选但推荐的依赖项,允许pylas读取和写入压缩的LAZ文件。

安装

pip install pylas

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分布

pylas-0.4.3.tar.gz (31.6 kB 查看哈希值)

上传时间:

由以下支持