Esempio n. 1
0
 static GdalFunctionStore()
 {
     emptyGridFunctions.Add(emptyGrid);
     emptyGridFunctions.Add(emptyGrid.X);
     emptyGridFunctions.Add(emptyGrid.Y);
     emptyGridFunctions.AddRange(emptyGrid.Components.Cast <IFunction>());
 }
Esempio n. 2
0
        private void CreateSchemaFromDataset()
        {
            var grid = CreateRegularGridCoverage(gdalDataset);

            grid.Store = this;

            // add grid, grid components and arguments to the list of functions managed by the current store
            functions.Add(grid);
            functions.Add(grid.X);
            functions.Add(grid.Y);
            functions.AddRange(grid.Components.Cast <IFunction>());
        }