Skip to content

High-level python library to manipulate LIDAR raster and point cloud.

License

Notifications You must be signed in to change notification settings

Joffreybvn/lidario

Repository files navigation

Lidario

Generic badge Travis CI Documentation Status

High-level python library to manipulate LIDAR raster and point cloud.

Installing

Install and update using pip:

pip install lidario

Lidario depends on Rasterio, which depend on many other Python and C libraries. In case of problem, please refer to the Rasterio installation instructions.

Quick start

lidario.Translator transform a given data structure (ie: a raster), to a point cloud (ie: a numpy array).

import lidario as lio

# Translate a raster to a numpy point cloud.
translator = lio.Translator("geotiff", "np")
point_cloud = translator.translate("/path/to/file.tif")

# point_cloud: np.array([...])

In this example, we initialize a Translator object to convert a geotiff file into a numpy array cloud point. Then, we use this object to effectively convert a tif file.

Going further

Transform Rasterio mask and GeoTiff files into numpy array, pandas dataframe, CSV, PLY, and many other format:

Read the documentation on ReadTheDocs.io.

About the author

Joffrey Bienvenu, Machine Learning student @ Becode.