Re: [gdal-dev] Feasibility of expanding VRT schema to allow users to specify X/Y dimension for HDF data?

2016-09-16 Thread H. Joe Lee
Hi, Even! 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 ) Or does gdal.Open() also support

Re: [gdal-dev] Feasibility of expanding VRT schema to allow users to specify X/Y dimension for HDF data?

2016-09-16 Thread Even Rouault
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

Re: [gdal-dev] Feasibility of expanding VRT schema to allow users to specify X/Y dimension for HDF data?

2016-08-05 Thread Even Rouault
Frank, From what I understand from Joe's needs, it looks like simple transposing of a 2D raster wouldn't be enough. Here we would need to "transpose" pixels scattered through different subdatasets due to the Nd > 2 dimensionality of the original dataset, which would be impractical to express

Re: [gdal-dev] Feasibility of expanding VRT schema to allow users to specify X/Y dimension for HDF data?

2016-08-04 Thread H. Joe Lee
Thank you so much, Even! OpenOptions sounds like a perfect match for this case. I'll try it with HDF drivers and see how it goes with gdal_translate. Best Regards, On Thu, Aug 4, 2016 at 5:32 PM, Even Rouault wrote: > On Thursday 04 August 2016 16:31:25 H. Joe Lee

Re: [gdal-dev] Feasibility of expanding VRT schema to allow users to specify X/Y dimension for HDF data?

2016-08-04 Thread Frank Warmerdam
Brian / Even, Certainly it is desirable for the HDF (and perhaps other super flexible formats like netcdf) to support an open option to select alternative axes. But the ability to transpose a dataset could also be quite valuable in the VRT driver to "fix" any input transposed dataset. I'm also

Re: [gdal-dev] Feasibility of expanding VRT schema to allow users to specify X/Y dimension for HDF data?

2016-08-04 Thread Even Rouault
On Thursday 04 August 2016 16:31:25 H. Joe Lee wrote: > Hi, > > My name is Joe Lee and I'm very interested in improving GDAL's > capability to access NASA HDF4/HDF5 data so that users can work with > HDF easily through GDAL. For example, my goal is to allow users to > translate any HDF data

[gdal-dev] Feasibility of expanding VRT schema to allow users to specify X/Y dimension for HDF data?

2016-08-04 Thread H. Joe Lee
Hi, My name is Joe Lee and I'm very interested in improving GDAL's capability to access NASA HDF4/HDF5 data so that users can work with HDF easily through GDAL. For example, my goal is to allow users to translate any HDF data into GeoTIFF via gdal_translate. I've worked with diverse NASA HDF