public override void Execute() { var grid = GridImporter.ImportGrid(sourceEpsgCode, rutenettType, dataFile); GridImporter.BulkStore(grid); Log.i("DB", $"Imported {grid.Cells.Count} cells from {dataFile}."); }
private static void ImportGrid(string shapeFilePath, int sourceEpsgCode, RutenettType rutenettType) { string fullPath = FileLocator.FindFileInTree(Path.Combine(@"Data\Grid\SSB", shapeFilePath)); var grid = GridImporter.ImportGrid(sourceEpsgCode, rutenettType, fullPath); GridImporter.BulkStore(grid); }