From 0a69fd8b89dd6283097573fcd1763801e7d6f58d Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 11 Feb 2021 11:26:05 +0000 Subject: [PATCH] added gadm geo package dataset --- core/management/commands/addgeo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/management/commands/addgeo.py b/core/management/commands/addgeo.py index 89c3117..53d587a 100644 --- a/core/management/commands/addgeo.py +++ b/core/management/commands/addgeo.py @@ -30,6 +30,7 @@ class Command(BaseCommand): ds = DataSource('datasets/gadm36_ESP.gpkg') # create country for spain + country_ds = ds[0] country = Country.objects.create(name='EspaƱa') locations_file = 'datasets/locations.json'