You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Export (for a grid) can be done as follows:

GdalFileExporter.ExportTo(string path,IFunction source)
{
   //get store for given path
   IFunctionStore targetStore = GetStoreForPath(path)
   //
   source.CloneTo(targetStore)

}

In the function we should add a CloneTo method that adds a clone using the given store. The Clone() method uses the memory store. The CloneTo method is the hard part since there we should time the SetValues call after the store is set.

  • No labels