added gadm geo package dataset
This commit is contained in:
@@ -30,6 +30,7 @@ class Command(BaseCommand):
|
|||||||
ds = DataSource('datasets/gadm36_ESP.gpkg')
|
ds = DataSource('datasets/gadm36_ESP.gpkg')
|
||||||
|
|
||||||
# create country for spain
|
# create country for spain
|
||||||
|
country_ds = ds[0]
|
||||||
country = Country.objects.create(name='España')
|
country = Country.objects.create(name='España')
|
||||||
|
|
||||||
locations_file = 'datasets/locations.json'
|
locations_file = 'datasets/locations.json'
|
||||||
|
|||||||
Reference in New Issue
Block a user