From 32c7d361fd8be4d05625ddde590675436c53dc47 Mon Sep 17 00:00:00 2001 From: Terence Tuhinanshu Date: Wed, 2 Nov 2022 13:19:00 -0400 Subject: [PATCH] Add fiona for reading shapefiles This library will be used to read and convert shapefiles in the back-end. lib-gdaldev is required to build fiona. --- src/django/Dockerfile | 1 + src/django/requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/src/django/Dockerfile b/src/django/Dockerfile index 847e2d2c..d77ae42b 100644 --- a/src/django/Dockerfile +++ b/src/django/Dockerfile @@ -7,6 +7,7 @@ COPY requirements.txt /usr/local/src/ RUN set -ex \ && buildDeps=" \ build-essential \ + libgdal-dev \ libpq-dev \ " \ && deps=" \ diff --git a/src/django/requirements.txt b/src/django/requirements.txt index 7d34a930..d0ee0bdf 100644 --- a/src/django/requirements.txt +++ b/src/django/requirements.txt @@ -13,6 +13,7 @@ djangorestframework-gis==1.0 dj-rest-auth==2.2.5 factory-boy==3.2.1 filetype==1.0.13 +fiona==1.8.22 flake8==4.0.1 gunicorn==20.1.0 psycopg2==2.9.3