public void Erdas74()
        {
            string path = Data.MakeInputPath("Erdas74.xml");
            DriverDataset dataset = new DriverDataset(path);

            IList<DriverInfo> gisDrivers = dataset.GetDrivers(".gis");
            Assert.IsNotNull(gisDrivers);
            Assert.AreEqual(1, gisDrivers.Count);
            AssertIsErdas74Driver(gisDrivers[0]);

            IList<DriverInfo> lanDrivers = dataset.GetDrivers(".lan");
            Assert.IsNotNull(lanDrivers);
            Assert.AreEqual(1, lanDrivers.Count);
            AssertIsErdas74Driver(lanDrivers[0]);
        }
Ejemplo n.º 2
0
        //---------------------------------------------------------------------

        public DriverManager(string datasetPath)
        {
            dataset       = new DriverDataset(datasetPath);
            loadedDrivers = new Dictionary <string, IDriver>();
        }