/image_service

A containerized service to grab and save satellite imagery

Primary LanguagePython

Image Service

This project establishes a web service for pulling satellite imagery from various providers. Links to available services and detailed instructions are given at the primary Heroku entry point.

There are also several tools available for local image processing:

  • Manual_reprocessing: Mosaicking and color correction for image tiles downloaded elsewhere.
  • Georeferencing: Conversions between vectors and rasters and a tool to restore georeferencing to images.
  • The modules in webapp/grabbers: Local access to the satellite provider APIs (redundant with the web service).

Dependencies

  • GDAL
  • API keys in out-of-repo files .env and webapp/.google_config.json.

Developing and deploying

The image service is based a containerized Flask web app, deployed on Heroku. To test locally:

docker-compose build
docker-compose up

To deploy to Heroku:

heroku container:push --recursive -a earthrise-imagery
heroku container:release web worker thumbnailworker