Skip to content

This package contains scripts for reading and visualising LIDAR data

Notifications You must be signed in to change notification settings

Theehawau/AgriTech

Repository files navigation

AgriTech

Issues

workflow

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.

Built With

Resoures that used in this project are :

  • PDAL
  • GDAL
  • OGR
  • Shapely ... amongst others

Installation

git clone https://github.com/Theehawau/AgriTech
cd AgriTech
pip -r requirements.txt

Features

  • 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

  • GetBounds

    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.

  • ReadData

    This script contains functions to generate pipeline from give data, run pipeline to obtain tiff file,generate shape file and generate dimensions geopandas dataframe

  • UpdateMetaData

    This script contains functions to generate pipeline from give data, run pipeline to obtain tiff file,generate shape file and generate dimensions geopandas dataframe

  • GetDimensions

    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.

  • Visualize

    This script contains functions for visualizing the data

Usage

Get Bounds

##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')

Visualize

## 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

About

This package contains scripts for reading and visualising LIDAR data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published