Re: [gdal-dev] Writing descriptions to GeoTiff bands

2016-09-16 Thread Even Rouault
Le vendredi 16 septembre 2016 22:57:13, Andrew Bell a écrit : > Hi, > > My code for creating a Tiff raster looks something like this: > > int nBands = 5; > dataset->Create(filename, width, height, nBands, ...); > > for (int i = 1; i <= nBands; ++i) > { > GDALRasterBand *band =

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

[gdal-dev] Writing descriptions to GeoTiff bands

2016-09-16 Thread Andrew Bell
Hi, My code for creating a Tiff raster looks something like this: int nBands = 5; dataset->Create(filename, width, height, nBands, ...); for (int i = 1; i <= nBands; ++i) { GDALRasterBand *band = dataset->GetRasterBand(i); band->SetDescription(someString);

Re: [gdal-dev] ERROR 6: No translation for Lambert_Conformal_Conic to PROJ.4 format is known.

2016-09-16 Thread Even Rouault
Helmut, > when I do: testepsg of the ogr2ogr'ed shapefile prj file: > > testepsg Gesamtgewaessernetz_v11_Tirol_epsg31287.prj > > ERROR 6: No translation for Lambert_Conformal_Conic to PROJ.4 format is > known. > PROJ.4 rendering of [Gesamtgewaessernetz_v11_Tirol_epsg31287.prj] = > > is this

[gdal-dev] ERROR 6: No translation for Lambert_Conformal_Conic to PROJ.4 format is known.

2016-09-16 Thread Helmut Kudrnovsky
hi, I have vector dataset [1] in EPSG:31254. then I do ogr2ogr -s_srs EPSG:31254 -t_srs EPSG:31287 if I do testepsg EPSG:31287, I get following +proj4 string: PROJ.4 rendering of [EPSG:31287] = +proj=lcc +lat_1=49 +lat_2=46 +lat_0=47.5 +lon_0=13.33 +x_0=40 +y_0=40

Re: [gdal-dev] SQLite driver?

2016-09-16 Thread Jeff McKenna
On 2016-09-14 6:55 PM, Joaquim Luis wrote: FWIW, my reply with an attached image is waiting for approval. Joaquim, I checked in the mailman backend and I don't see a message being held. But for sure always always when using mailing lists never try attaching things, for example if you need

Re: [gdal-dev] SQLite driver?

2016-09-16 Thread Joaquim Luis
Yes, it had a small image attached. But never mind, I ended up finding that the crash resulted from the fact that some other gdal.dll without sqlite driver managed to get in the way. The bad new was that, once this solved, I got another crash latter but there is nothing in it that I can

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