[gdal-dev] Feasibility of expanding VRT schema to allow users to specify X/Y dimension for HDF data?
even.rouault at spatialys.com
Fri Sep 16 10:12:08 PDT 2016
> 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
More information about the gdal-dev