[![PyPI version](https://badge.fury.io/py/usgslidar.svg)](https://badge.fury.io/py/usgslidar) ![GitHub issues](https://img.shields.io/github/issues-raw/Azariagmt/AgriTech-USGS-LIDAR) ![GitHub](https://img.shields.io/github/license/Azariagmt/AgriTech-USGS-LIDAR) [![Documentation Status](https://readthedocs.org/projects/usgslidar/badge/?version=latest)](https://usgslidar.readthedocs.io/en/latest/?badge=latest)
To build our pipeline we actually use PDAL under the hood. Since PDAL doesnt build properly with pip in the current version, you need to use conda to manage your dependencies.
* Install [Anaconda](https://www.anaconda.com/) * In a conda environment install PDAL and python-pdal ```bash conda install -c conda-forge pdal python-pdal ``` * Install usgslidar ```bash pip install usgslidar ```
Full Documentation for usgslidar package can be found here.
Lets view an example of visualizing a point cloud data on a farm in Iowa
* From the get_data module lets import the get_geopandas_dataframe module ```python from usgslidar.get_data import get_geopandas_dataframe ``` * We will get back the elevation and geometry dataframe when we call the get_geopandas_dataframe function ```python elevation_df = get_geopandas_dataframe() ``` * Lets now import the plot_3d_map function from the visualize module to help us plot the 3d map ```python from usgslidar.visualize import plot_3d_map ``` * We can now plot the 3d map calling the function and passing in the elevation dataframe we got above ```python plot_3d_map(df=elevation_df) ``` * We will get an output of a 3d plot like below that we can play around with ![output](https://user-images.githubusercontent.com/56393921/130657829-826d2fe0-3857-4da6-a722-2ccd2875f985.png)
Example notebooks with specific purposes can be found here.