Beispiel #1
0
        private static void PrintDriversOgr()
        {
#if DEBUG
            var num = Ogr.GetDriverCount();
            for (var i = 0; i < num; i++)
            {
                var driver = Ogr.GetDriver(i);
                Console.WriteLine(string.Format("OGR {0}: {1}", i, driver.name));
            }
#endif
        }
Beispiel #2
0
 private static void PrintDriversOgr()
 {
     if (DebugUtil._debug)
     {
         var num = Ogr.GetDriverCount();
         for (var i = 0; i < num; i++)
         {
             var driver = Ogr.GetDriver(i);
             DebugUtil.WriteLine(string.Format("OGR {0}: {1}", i, driver.name));
         }
     }
 }
        private static void PrintDriversOgr()
        {
#if DEBUG
            if (_usable)
            {
                var num = Ogr.GetDriverCount();
                for (var i = 0; i < num; i++)
                {
                    var driver = Ogr.GetDriver(i);
                    Trace.WriteLine($"OGR {i}: {driver.GetName()}", "Debug");
                }
            }
#endif
        }