Skip to content

Open-Source-Agriculture/farmlayers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Farm Layers [early stages of dev]

Helper scripts for fetching and managing basic geotiff files related to Farm Mapping

Supports:

  • elevation
  • red bands
  • blue bands
  • green bands
  • near-inferred bands

Coming:

Australian Radiometric data

  • k gamma
  • u gamma
  • th gamma

Install:

pip install farmlayers

Usage:

Make area of interest using shapely geoms:

from shapely.geometry.multipolygon import MultiPolygon
from farmlayers import shp_to_boundaries

boundaries = shp_to_boundaries("boundaries.shp")

Download elevation:

from farmlayers import download_elevation

download_elevation(geom=MultiPolygon(polygons=boundaries), dir="data")

Download soil related landsat 8 bands:

from farmlayers import download_soil

download_soil(geom=MultiPolygon(polygons=boundaries), dir="data")

Download crop related landsat 8 bands

from farmlayers import download_crop

download_crop(geom=MultiPolygon(polygons=boundaries), dir="data")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages