Re: [gdal-dev] netcd from WRF

2017-10-17 Thread Vincent Mora
Le 17/10/2017 à 17:13, Even Rouault a écrit : >>> Are you sure that GDAL handles the bands as GDAL raster bands of the same >>> GDAL dataset, and not as different subdatasets (I suspect this is the >>> later) ? Because the georeferencing info in a GDAL dataset is attached to >>> the dataset, not

Re: [gdal-dev] netcd from WRF

2017-10-17 Thread Even Rouault
> > Are you sure that GDAL handles the bands as GDAL raster bands of the same > > GDAL dataset, and not as different subdatasets (I suspect this is the > > later) ? Because the georeferencing info in a GDAL dataset is attached to > > the dataset, not the bands. So if that works for the first band,

Re: [gdal-dev] netcd from WRF

2017-10-17 Thread Vincent Mora
Hi Even, Thanks for your input. Le 17/10/2017 à 12:26, Even Rouault a écrit : > > Showing the gdalinfo / ncdump output would have helped better diagnosing. sorSy for that, the output for the subdataset of interest follows with a recompiler version af gdal including your fix. > > Are you sure th

Re: [gdal-dev] ogr2ogr : limit memory usage

2017-10-17 Thread Even Rouault
On mardi 17 octobre 2017 06:34:07 CEST Kurt Schwehr wrote: > Added some small fuzzer corpus test cases that cause me OOM on a 2GB > instance: > > https://trac.osgeo.org/gdal/ticket/6540#comment:5 I doubt this is a OOM issue. But there was indeed a regression with empty string keys in dictionarie

Re: [gdal-dev] ogr2ogr : limit memory usage

2017-10-17 Thread Kurt Schwehr
Added some small fuzzer corpus test cases that cause me OOM on a 2GB instance: https://trac.osgeo.org/gdal/ticket/6540#comment:5 On Tue, Oct 17, 2017 at 3:05 AM, Even Rouault wrote: > On vendredi 13 octobre 2017 12:43:29 CEST Even Rouault wrote: > > On vendredi 13 octobre 2017 10:06:56 CEST Mat

Re: [gdal-dev] netcd from WRF

2017-10-17 Thread Even Rouault
Hi Vincent, > > I'm trying to visualize **weather forecast data from WRF** in QGIS. > Ultimately I'd like to add support for viewing/navigating datasets with > multiple dimensions (Z and time with like sliders to navigate through > bands). > > gdal recognizes the bands just fine, although the ne

Re: [gdal-dev] ogr2ogr : limit memory usage

2017-10-17 Thread Even Rouault
On vendredi 13 octobre 2017 12:43:29 CEST Even Rouault wrote: > On vendredi 13 octobre 2017 10:06:56 CEST Matthieu Lefort wrote: > > Hi list, > > I am using ogr2ogr to load big geojson files (about 1 Go each) into > > postgresql database. On my MacBook, (GDAL 1.11.3, released 2015/09/16), > > altho

[gdal-dev] netcd from WRF

2017-10-17 Thread Vincent Mora
Hi, I'm trying to visualize **weather forecast data from WRF** in QGIS. Ultimately I'd like to add support for viewing/navigating datasets with multiple dimensions (Z and time with like sliders to navigate through bands). gdal recognizes the bands just fine, although the netcdf produced by **WRF

Re: [gdal-dev] /MD vs /MDd for DEBUG MSVC builds

2017-10-17 Thread Mateusz Loskot
On 17 Oct 2017 12:35 am, "Even Rouault" wrote: On mardi 17 octobre 2017 00:30:54 CEST Tamas Szekeres wrote: > I'd like to see /Od in addition to the /Zi and /MD etc. with the > DEBUG_WITH_RELEASE_CRT > setting. By this means it's not the same as RelWithDebInfo which uses /O2 > as far as I rememb

Re: [gdal-dev] Error after building GDAL 2 in Debian jessie

2017-10-17 Thread aborruso
Hi Even, thank you very much. Even Rouault-2 wrote > It looks you have at least two libsqlite3 installed on your system ? You > built > against one that has sqlite3_column_table_name available, but at runtime > the > dynamic loader finds one that has not it. > You can use LD_LIBRARY_PATH to poi

Re: [gdal-dev] Error after building GDAL 2 in Debian jessie

2017-10-17 Thread Even Rouault
On lundi 16 octobre 2017 23:47:54 CEST aborruso wrote: > Hi all, > I have tried to build GDAL 2.2 [1], using this steps [1]. > > I have no problem in building, but after I have installed it, I have this > error for every GDAL/OGR command I run: > > "symbol lookup error: /usr/lib/libgdal.so.20: un