Skip to content

A collection of scripts for processing imagery

License

Notifications You must be signed in to change notification settings

linz/topo-imagery

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
Jul 10, 2022
Jul 12, 2022
Jul 11, 2022
Jun 8, 2022
May 31, 2022
May 31, 2022
Jun 28, 2022
Jun 28, 2022
Jul 11, 2022
Jun 21, 2022
Jun 28, 2022
Jun 28, 2022
Jun 28, 2022
Jun 21, 2022

Repository files navigation

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'