Skip to content

p-leroy/lidar_platform

Repository files navigation

Lidar_platform

Installation

1. Install lidar_platform

The better way to install the lidar_platform module is by cloning the repository from GitHub:

https://github.com/p-leroy/lidar_platform

After that, you have to add the directory containing lidar_platform to your PYTHONPATH. This step is dependent on the way you installed python. In many editors, you can set the PYTHONPATH without touching to the environment variables.

Once the path have been configured, the module or the tools can be imported in a classical manner, e.g.:

import lidar_platform
from lidar_platform import cc, las

2. Install required modules

Depending on your python installation, there are several ways to install modules. Sometimes, preferred ways are specified on the webstites of the modules. So, do not hesitate to go and have a look at the installation recommandations, which can evolute with time.

For instance, with miniconda (or anaconda but the first one is preferred)

conda install -c conda-forge laspy

https://laspy.readthedocs.io/en/latest/installation.html

conda install -c conda-forge gdal

https://gdal.org/download.html#

conda install -c conda-forge scikit-learn

And also numpy, matplotlib, sklearn

or with pip

pip install -r .\plateforme_lidar\requirements.txt

3. Third party tools

Paths to third party tools can be configured in lidar_platform.config.config.py.

Depending on what you need in the library, you will need to install third party tools:

  • To use tools.cloudcompare and tools.cc, you will need CloudCompare
    If CloudCompare is not installed in the standard directory ('C:\Program Files\CloudCompare' on Windows), configure the path in lidar_platform.config.config.py
    See more : http://www.cloudcompare.org/
  • topo_bathymetry.poisson_reconstruction makes calls to the Adaptive Multigrid Solvers tools, especially PoissonRecon.exe
    See more: https://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version13.8/
  • In case of failure during the gdal installation, it is possible to try to install it using OSGeo4W
    You will have to add the root path to OSGEO4W (containing OSGeo4W.bat) to your environment variables.
    See more : https://trac.osgeo.org/osgeo4w/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published