Jabor047 / LidarToGeo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LidarToGeo

In order to use this package you should have aws credentials setup in a .aws folder in your home directory, you can a guide to help you set this up here s Contains code that goes through the usgs-lidar-public dataset, fetches the las and tif files from a region specified by an input, processes these files to give a dictionary that contains a key of year or region of the data and a value of geodataframe that has the elevation, geometry point and the topographic wetness index of the geometry point

This package will write the following to the directory you are running the script in: a laz file, tif file, shp file and a png file depending on the saved_png flag below.

Documentation

You can view the package's documentation here

installation

pip install lidarToGeo

Usage

import lidar_to_geo
# bounds = "([xMin, xMax], [yMin, yMax])"
raster = lidar_to_geo.RasterGetter(bounds, crs)
gpd_dict = raster.region_gdf_dict(saved_png=False, resolution=5)

About

License:MIT License


Languages

Language:Python 100.0%