> 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.
Spatialys - Geospatial professional services
gdal-dev mailing list