Re: [gdal-dev] Fwd: Grib2 template extension (again).

2017-11-22 Thread Even Rouault
On mercredi 22 novembre 2017 15:56:47 CET Tobias Reinicke wrote: > Hello All, > > I can't raise a bug I'm afraid but I thought I'd mention that it looks like > the grib format I am looking at using has a template of 40. I know gdal was > recently updated to cope with 30, so apologies for this. >

[gdal-dev] Fwd: Grib2 template extension (again).

2017-11-22 Thread Tobias Reinicke
Hello All, I can't raise a bug I'm afraid but I thought I'd mention that it looks like the grib format I am looking at using has a template of 40. I know gdal was recently updated to cope with 30, so apologies for this. File to use to reproduce with gdalinfo https://download.regional.atmosphere.c

Re: [gdal-dev] Multidimensional raster support in GDAL

2017-11-22 Thread Ari Jolma
Even Rouault kirjoitti 22.11.2017 klo 15:11: On mercredi 22 novembre 2017 14:38:55 CET Ari Jolma wrote: > Even Rouault kirjoitti 21.11.2017 klo 16:06: > > gdal_translate (actually GDALDatasetCopyWholeRaster()) uses the > > INTERLEAVE=PIXEL/BAND metadata item of the IMAGE_STRUCTURE domain as a

Re: [gdal-dev] Page Selection in GeoPDF in GDAL utilizes like gdalwarp, gdal_translate

2017-11-22 Thread Gane R
Thanks for your reply, I got it working by referencing the the subsets like PDF: On Fri, Oct 27, 2017 at 1:59 PM, wrote: > You should be able to just use the normal subdataset referencing. I like > gdalinfo to get the syntax. > > > > Brad > > > ___ gda

Re: [gdal-dev] Extracting keys & values from OSM Planet

2017-11-22 Thread Nikos Alexandris
* Even Rouault [2017-11-22 14:30:23 +0100]: On mercredi 22 novembre 2017 14:14:38 CET Nikos Alexandris wrote: * Even Rouault [2017-11-20 15:59:51 +0100]: >On lundi 20 novembre 2017 15:48:20 CET Nikos Alexandris wrote: >> * Even Rouault [2017-11-07 22:37:02 +0100]: >> >> 2. Is OGR handling we

Re: [gdal-dev] Extracting keys & values from OSM Planet

2017-11-22 Thread Even Rouault
On mercredi 22 novembre 2017 14:14:38 CET Nikos Alexandris wrote: > * Even Rouault [2017-11-20 15:59:51 +0100]: > >On lundi 20 novembre 2017 15:48:20 CET Nikos Alexandris wrote: > >> * Even Rouault [2017-11-07 22:37:02 +0100]: > >> >> 2. Is OGR handling well the conversion from .osm to ESRI Shape

Re: [gdal-dev] Extracting keys & values from OSM Planet

2017-11-22 Thread Nikos Alexandris
* Even Rouault [2017-11-20 15:59:51 +0100]: On lundi 20 novembre 2017 15:48:20 CET Nikos Alexandris wrote: * Even Rouault [2017-11-07 22:37:02 +0100]: >> 2. Is OGR handling well the conversion from .osm to ESRI Shapefiles? > >Yes, but within the limits ot the shapefile, and particularly .dbf

Re: [gdal-dev] Multidimensional raster support in GDAL

2017-11-22 Thread Even Rouault
On mercredi 22 novembre 2017 14:38:55 CET Ari Jolma wrote: > Even Rouault kirjoitti 21.11.2017 klo 16:06: > > gdal_translate (actually GDALDatasetCopyWholeRaster()) uses the > > INTERLEAVE=PIXEL/BAND metadata item of the IMAGE_STRUCTURE domain as a > > hint whether to read band by band or all bands

Re: [gdal-dev] Using field name as variable in a "dialect sqlite" query

2017-11-22 Thread jratike80
aborruso wrote > Hi, > I have this kind of CSV > > ID,x,y,epsg > 1,50,400,32633 > 1,50,400,32632 > > Is it possible to use ogrinfo and a "dialect sqlite" query in this way, > and > set the EPSG by reading the value from the `epsg` field? > > ogrinfo -dialect sqlite -sql "select S

Re: [gdal-dev] Multidimensional raster support in GDAL

2017-11-22 Thread Ari Jolma
Even Rouault kirjoitti 21.11.2017 klo 16:06: gdal_translate (actually GDALDatasetCopyWholeRaster()) uses the INTERLEAVE=PIXEL/BAND metadata item of the IMAGE_STRUCTURE domain as a hint whether to read band by band or all bands together So if you add the following, it should request all bands

[gdal-dev] Using field name as variable in a "dialect sqlite" query

2017-11-22 Thread aborruso
Hi, I have this kind of CSV ID,x,y,epsg 1,50,400,32633 1,50,400,32632 Is it possible to use ogrinfo and a "dialect sqlite" query in this way, and set the EPSG by reading the value from the `epsg` field? ogrinfo -dialect sqlite -sql "select ST_GeomFromText('POINT(' || x || ' ' ||

Re: [gdal-dev] Vertical datum conversion for SRTM data

2017-11-22 Thread Andre Joost
Am 21.11.2017 um 12:27 schrieb Michael Smith: Egm96 grid shift file available from http://download.osgeo.org/proj/vdatum/egm96_15/egm96_15.gtx Note that OSGEO4W64 still ships an incorrect version of the file from 2010. According to http://download.osgeo.org/proj/vdatum/egm96_15/ the file s