Joe,

> I'm making some progress in utilizing OpenOptions to modify HDF drivers.
> 
> For automated testing of the new HDF drivers, should I use
> gdal.OpenEx() like below in gor2vrt.py?
> 
> src_ds = gdal.OpenEx( infile, gdal.OF_VECTOR, open_options = openoptions )

That's fine. Except you'd rather specify gdal.OF_RASTER for HDF.

> 
> Or does gdal.Open() also support open_options argument?

gdal.Open() has been kept to its historical API. Use gdal.OpenEx() for 
specifying open options.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to