Python中的LAS/LAZ读写

pylas的Python项目详细描述


挂架

用python读取las/laz的另一种方法。

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

示例

importpylas# Directly read and write laslas=pylas.read('filename.las')las=pylas.convert(point_format_id=2)las.write('converted.las')# Open data to inspect header and then readwithpylas.open('filename.las')asf:iff.header.point_count<10**8:las=f.read()print(las.vlrs)

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

依赖关系和要求

仅限Python 3。

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

安装

pip install pylas

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何设置分割PdfPCell的最小高度   java Apache POI pptx图像处理时间过长   如果我更改jar文件的位置,则java jar文件不拍摄图像   java如何从客户端读取领事键值?   Java函数接口中的泛型类型安全   java无法解析:E/RecyclerView:未连接适配器;正在跳过布局,并且无法为子()中的参数“pathString”传递null   java异常postGIS几何映射与JPA   hibernate初始SessionFactory创建失败。JAVAlang.NoClassDefFoundError:org/hiber-nate/cfg/Configuration   java为什么BoxLayout不能共享,而FlowLayout可以共享?   名为“undefined”的java文件在api响应中返回,spring boot   java在一个对象中只允许一个非空字段的好方法是什么   日期java SimpleDataFormat错误地解析给定的时间戳   用于实现lambda可能接口的枚举的java速记符号