Пример #1
0
        //---------------------------------------------------------------------

        private static void LoadEcoregions(string path)
        {
            Log.Info("Loading ecoregions from file \"{0}\" ...", path);
            Ecoregions.DatasetParser parser = new Ecoregions.DatasetParser();
            ecoregions = Data.Load <Ecoregions.IDataset>(path, parser);
        }
Пример #2
0
        //---------------------------------------------------------------------

        private void LoadEcoregions(string path)
        {
            ui.WriteLine("Loading ecoregions from file \"{0}\" ...", path);
            Ecoregions.DatasetParser parser = new Ecoregions.DatasetParser();
            ecoregions = Load <IEcoregionDataset>(path, parser);
        }