[gdal-dev] old autotest http/dods issue - fix

William Kyngesburye woklist at kyngchaos.com
Thu Aug 13 14:43:27 EDT 2009


I keep having this problem in the autotests where the gdalhttp test  
ends up using the DODS driver.  I finally fixed it by adding this  
after the initial HTTP driver load test, much like the various JP2  
tests:

     try:
         drv = gdal.GetDriverByName( 'DODS' )
         drv.Deregister();
         drv.Register()
         print 'Moved DODS'
     except:
         pass


P.S.  is there something wrong with the onearth WMS server used for  
the wms test?  The urlopen() check stalls with no timeout.  It didn't  
do this in the past.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an  
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy




More information about the gdal-dev mailing list