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无法启动应用程序:JNLP错误   java根据用户输入在PreparedStatement中使用setTime()或setNull()   java EJB与同步   java以object为键通过hashmap进行搜索   java中的模10^9+7   针对包含其他对象的对象的java OOP最佳实践   如何将字符串作为HTML代码从Java文件读取到JSP页面?   java我的POM怎么了?“解析表达式..检测到递归表达式循环”   用于Hbase的Mapreduce的java NoSuchMethodError   JAVAlang.SecurityException:权限拒绝:启动意图{act=安卓.Intent.action.MAIN cat=[安卓.Intent.category.LAUNCHER]   数组初始化谜语Java   通过arraylist搜索时的java句柄关联