Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 2.13 KB

README.md

File metadata and controls

41 lines (28 loc) · 2.13 KB

Topo Imagery

GitHub Actions Status Coverage: 100% branches Kodiak Dependabot Status License Conventional Commits Code Style Imports: isort Checked with mypy Code Style: prettier

A collection of scripts used to process imagery

Package

Container Descrption

The purpose of this Docker container is to run Python scripts which use the GDAL library. It is based on osgeo/gdal:ubuntu-small-latest Docker image.

Python scripts

Python version is set to 3.8.10 as it is the current version used by osgeo/gdal.

create_polygons.py

Usage

Local

  1. Build the Docker image: docker build .
  2. Log into AWS with AWS-CLI
  3. Run the following command
docker run -v ${HOME}/.aws/credentials:/root/.aws/credentials:ro -e AWS_PROFILE='your-aws-profile' 'image-id'  python create_polygons.py --uri 's3://path-to-the-tiff/image.tif' --destination 'destination-bucket'