Module to fetch, transform and visualize 3dep lidar data
Table of Contents
The aim of this prodject is to produce an easy to use, reliable and well designed python module that domain experts and data scientists can use to fetch, visualise, and transform publicly available satellite and LIDAR data. Module will interface with USGS 3DEP and fetch data using their API.
How to setup the module
- Clone the repo
git clone https://github.com/SameC137/AgriTech
- Move to the package directory
cd elevation_3DEP
- Install with pip
pip install .
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
Import
from eleveation_3DEP.fetch import FetchData
Getting Data
FetchData(region).fetch_elevation(geometry,csr)
returns a dataframe containeing elevation for points inside geometry
elevation | geometry | |
---|---|---|
0 | 310.10 | POINT (-93.75605 41.91804) |
1 | 310.56 | POINT (-93.75566 41.91819) |
2 | 310.40 | POINT (-93.75605 41.91864) |
3 | 311.59 | POINT (-93.75606 41.91908) |
4 | 312.16 | POINT (-93.75586 41.91923) |
Visualization in 3D
FetchData(region).visualize3D(dataframe)
Visualization in 2D
FetchData(region).visualize2D(dataframe)
Standardize into grid
FetchData(region).standardize(dataframe,resoulution)
Topographic wetness index
FetchData(region).topographicWetnessIndex(dataframe,resolution)
For more a full list of functionality and parameters, please refer to the Documentation or checkout the notebook demonstration Demonstration
See the open issues for a list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE
for more information.