Skip to content

GPSDD/geostore

Repository files navigation

Global Forest Watch Geostore API

This repository is the microservice that implements the Geostore funcionality, which is exposed on the /geostore endpoint.

The Geostore is a simple GeoJSON storage service that receives GeoJSON and returns an ID that can be used later to retrieve the given object. It is used primarily by the GFW map to handle large GeoJSON objects that could not normally be stored in the URL.

View the documentation for this API

  1. Getting Started
  2. Deployment

Getting Started

First time user

Perform the following steps:

    sh ./geostore.sh develop

Deployment

The application is deployed to Heroku. Setup Heroku for the repository:

heroku git:remote -a gfw-geostore-api-staging -r staging

And deploy as normal:

git push staging master

Configuration

It is necessary to define these environment variables:

  • API_GATEWAY_URI => Gateway Service API URL
  • NODE_ENV => Environment (prod, staging, dev)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published