Beispiel #1
0
        public void BulkStoreConservationAreasTest()
        {
            var conservationAreas = AreaCollection.ImportAreasFromFile(
                naturvernomraderUtm33Shp, 32633, AreaType.Verneområde);

            AreaImporter.BulkStore(conservationAreas);
        }
        public override void Execute()
        {
            var areas = AreaCollection.ImportAreasFromFile(dataFile, sourceSrid, areaType);

            AreaImporter.BulkStore(areas);
            Log.i("DB", $"Imported {areas.Count} areas of type {areaType}.");
        }
Beispiel #3
0
        public void BulkStoreMunicipalitiesTest()
        {
            var areas = AreaCollection.ImportAreasFromFile(dataKommunerGeojson, 4326);

            AreaImporter.BulkStore(areas);
        }
Beispiel #4
0
        public void BulkStoreCountiesTest()
        {
            var areas = AreaCollection.ImportAreasFromFile(dataFylkerGeojson, 4326);

            AreaImporter.BulkStore(areas);
        }