Giter Club home page Giter Club logo

image_service's Introduction

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

image_service's People

Contributors

eboyda avatar danhammer avatar

Stargazers

Cristina Vrinceanu avatar Andreas Motl avatar Robin Cole avatar

Watchers

 avatar James Cloos avatar Tom Ingold avatar  avatar

image_service's Issues

Clash between Shapely and other GEOS libraries

This is an issue with external libraries.

There is a known clash between shapely and the GEOS libraries - osgeo and therefore possibly rasterio and gbdxtools. So far, importing shapley before the other libraries has
cured the problem here - and I think the reordering of imports in dg_grabber.py is the only place this explicitly impacts the code base. When working from the interpreter, I know have to import utilities.geobox.geobox before dg_grabber.

There is some thought that the clash lies between Homebrew python / gdal installations
and shapley. See: shapely/shapely#260

If an exception is thrown, it will typically come with a (somewhat cryptic) message of the form:
"Assertion failed: (0), function query, file AbstractSTRtree.cpp, line 287."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.