Пример #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
        }
Пример #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));
         }
     }
 }
Пример #3
0
        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
        }