Exemplo n.º 1
0
        //---------------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance.
        /// </summary>
        public Model(PlugIns.IDataset plugInDataset,
                     IDriverManager rasterDriverMgr)
        {
            this.plugInDataset   = plugInDataset;
            this.rasterDriverMgr = rasterDriverMgr;
            siteVarRegistry      = new SiteVarRegistry();
        }
Exemplo n.º 2
0
        //---------------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance.
        /// </summary>
        public Model(IExtensionDataset extensionDataset,
                     IConfigurableRasterFactory rasterFactory,
                     ILandscapeFactory landscapeFactory)

        {
            this.extensionDataset = extensionDataset;
            siteVarRegistry       = new SiteVarRegistry();

            this.rasterFactory    = rasterFactory;
            this.landscapeFactory = landscapeFactory;

            BindExtensionToFormat(".bin", "ENVI");
            BindExtensionToFormat(".bmp", "BMP");
            BindExtensionToFormat(".gis", "LAN");
            BindExtensionToFormat(".img", "HFA");
            BindExtensionToFormat(".tif", "GTiff");
            BindExtensionToFormat(".ingr", "INGR");
            BindExtensionToFormat(".vrt", "VRT");

            ui = null;
        }