WFP-VAM/prism-app

Remove dependency to S3 files

Open

#443 aberto em 8 de abr. de 2022

Ver no GitHub
 (0 comments) (0 reactions) (1 assignee)TypeScript (47 forks)auto 404
enhancementfrontendgood first issue

Métricas do repositório

Stars
 (72 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Currently, running raster analysis locally requires to have a boundary file on S3. We should remove this dependency. To do so, we have two options.

  1. When running locally, we send the geojson boundaries instead of url

  2. Instead of using S3, we add a “defaultUrl” to each country, pointing to their main deployment URL. This way, we don’t need to maintain files on S3 and the URL will be something like prism-mongolia.org/data/boundary_file.json

Since the API already accepts zones as a GeoJSON, it is probably the easiest option.

Guia do colaborador