Obtain Land Elevation data using USGS LIDAR. AgriTech is a python module that domain experts and data scientists can use to fetch, visualise, and transform publicly available satellite and LIDAR data.
Resoures that used in this project are :
- PDAL
- GDAL
- OGR
- Shapely ... amongst others
git clone https://github.com/Theehawau/AgriTech
cd AgriTech
pip -r requirements.txt
-
filename.txt : list of regions available in amazon bucket
-
data.csv : table of region name, url to data on amazon bucket, region bounds, region polygon.
-
metadata.csv : table of region name, url to data on amazon bucket, bounds.
-
read_file.json :pipeline skeleton json file
-
This script contains a class that can obtain the bounds to a region, link to the region point cloud data from a file of region names.
-
This script contains functions to generate pipeline from give data, run pipeline to obtain tiff file,generate shape file and generate dimensions geopandas dataframe
-
This script contains functions to generate pipeline from give data, run pipeline to obtain tiff file,generate shape file and generate dimensions geopandas dataframe
-
This script contains a class with attributes to validate bounds, create and run pipeline, generate shape file and dimension geopandas.
The attributes need to be followed step wise. See example.
-
This script contains functions for visualizing the data
##Import module
import GetBounds
##Initialize module with file containing regions name
getbounds = GetBounds.get_bounds_region('filename.txt')
##To get link to point cloud data for regions in filename.txt
getbounds.get_region_to_location()
##To get valid bounds to regions in filename.txt from link
getbounds.get_region_bounds()
##To save list of dictionary with region, bound, location in metadata.csv
getbounds.save_data('metadata.csv')
## Import all functions in module
from visualize import *
##Plot heatmap from shape file with elevation as legend
heatmap('shp/iowa.shp')
Other Usage samples and examples can be found in notebooks