Exemplo n.º 1
0
        /// <summary>
        /// Method to ensure the static constructor is being called.
        /// </summary>
        /// <remarks>Be sure to call this function before using Gdal/Ogr/Osr</remarks>
        public static void ConfigureOgr()
        {
            if (_configuredOgr) return;

            // Register drivers
            Ogr.RegisterAll();
            _configuredOgr = true;

            PrintDriversOgr();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Method to ensure the static constructor is being called.
        /// </summary>
        /// <remarks>Be sure to call this function before using Gdal/Ogr/Osr</remarks>
        public static void ConfigureOgr()
        {
            if (_configuredOgr)
            {
                return;
            }

            // Register drivers
            Ogr.RegisterAll();
            _configuredOgr = true;
        }
Exemplo n.º 3
0
 static Ogr()
 {
     FwToolsHelper.Configure();
     OgrOgr.RegisterAll();
 }