Re: [gdal-dev] VRT file from NetCDF

2012-03-01 Thread Yves Jacolin
Yes it is what we are doing but I just wanted to know if it is possible to improve the driver ;) thanks, Y. Le Mercredi 29 Février 2012 11:02:49 Etienne Tourigny a écrit : > Can you not pass the full path to the vrt file? This would resolve the > problem. Like Even I don't see an easy fix in th

Re: [gdal-dev] VRT file from NetCDF

2012-02-29 Thread Etienne Tourigny
Can you not pass the full path to the vrt file? This would resolve the problem. Like Even I don't see an easy fix in the driver. Etienne On Wed, Feb 29, 2012 at 6:57 AM, Yves Jacolin wrote: > Even, > > I understand. > > Thanks, > > Y. > Le Mercredi 29 Février 2012 09:54:27 Even Rouault a écrit

Re: [gdal-dev] VRT file from NetCDF

2012-02-29 Thread Yves Jacolin
Even, I understand. Thanks, Y. Le Mercredi 29 Février 2012 09:54:27 Even Rouault a écrit : > Selon Yves Jacolin : > > Hello, > > > > Sorry to come again to this thread :) > > > > It seems that when using relatif file for NETCDF for instance, MapServer > > won't > > work correclty, see Even com

Re: [gdal-dev] VRT file from NetCDF

2012-02-29 Thread Even Rouault
Selon Yves Jacolin : > Hello, > > Sorry to come again to this thread :) > > It seems that when using relatif file for NETCDF for instance, MapServer > won't > work correclty, see Even comment below. > > Is it a bug from GDAL? Do I need to open a ticket about this? I don't see an easy fix to impro

Re: [gdal-dev] VRT file from NetCDF

2012-02-28 Thread Yves Jacolin
Hello, Sorry to come again to this thread :) It seems that when using relatif file for NETCDF for instance, MapServer won't work correclty, see Even comment below. Is it a bug from GDAL? Do I need to open a ticket about this? Y. >Selon Yves Jacolin : >> Hello, >> >> Etienne asked some questio

Re: [gdal-dev] VRT file from NetCDF

2011-12-13 Thread Etienne Tourigny
Yves, I tried the vrt and netcdf file you supplied and I got the same problem if I started QGIS from another directory (than where the VRT file is stored), but it worked if I was in the same directory. However, gdalinfo -stats tmp4.vrt worked fine from another directory... I can't understand why g

Re: [gdal-dev] VRT file from NetCDF

2011-12-13 Thread Even Rouault
Selon Yves Jacolin : > Hello, > > Etienne asked some question offlist so I investigate. > > gdal create relatif path by default (I don't see a flag to change this). > MapServer and QGIS don't like this. MapServer and QGIS don't even know the content of the VRT, so the problem is more complex than

Re: [gdal-dev] VRT file from NetCDF

2011-12-13 Thread Yves Jacolin
Hello, Etienne asked some question offlist so I investigate. gdal create relatif path by default (I don't see a flag to change this). MapServer and QGIS don't like this. After changing relatif path to absolute path both are working correctly. Thanks, Y. Le mardi 13 décembre 2011 15:37:24, Yv

Re: [gdal-dev] VRT file from NetCDF

2011-12-13 Thread Yves Jacolin
Hello, I have no enought time to find the reason of the issue but I think the problem come from QGIS which can't classify raster data correctly. Or I am wrong somewhere. Anyway, I finally successfully worked on my NetCDF data using gdalbuildvrt and -separate flag. Thanks again both of you, Y

Re: [gdal-dev] VRT file from NetCDF

2011-12-13 Thread Etienne Tourigny
Yves, just out of curiosity, which gdal version are you using? You might consider trying the dev version (1.9) as the netcdf driver has a quite a few fixes. Please also send me the netcdf and vrt file (or post them somewhere). Etienne On Tue, Dec 13, 2011 at 10:21 AM, Yves Jacolin wrote: > Le

Re: [gdal-dev] VRT file from NetCDF

2011-12-13 Thread Yves Jacolin
Le mardi 13 décembre 2011 13:01:24, Even Rouault a écrit : > Selon Yves Jacolin : > > Hello, > > > > I am trying to create vrt files from netcdf files using only one > > subdataset. FYI, the second step will be to create a vrt file with two > > bandes linked to two > > subdataset. > > > > I am us

Re: [gdal-dev] VRT file from NetCDF

2011-12-13 Thread Yves Jacolin
Le mardi 13 décembre 2011 13:01:24, Even Rouault a écrit : > Selon Yves Jacolin : > > Hello, > > > > I am trying to create vrt files from netcdf files using only one > > subdataset. FYI, the second step will be to create a vrt file with two > > bandes linked to two > > subdataset. > > > > I am us

Re: [gdal-dev] VRT file from NetCDF

2011-12-13 Thread Even Rouault
Selon Yves Jacolin : > Hello, > > I am trying to create vrt files from netcdf files using only one subdataset. > FYI, the second step will be to create a vrt file with two bandes linked to > two > subdataset. > > I am using a first vrt file for begining created from a tif file as template. > The >

[gdal-dev] VRT file from NetCDF

2011-12-13 Thread Yves Jacolin
Hello, I am trying to create vrt files from netcdf files using only one subdataset. FYI, the second step will be to create a vrt file with two bandes linked to two subdataset. I am using a first vrt file for begining created from a tif file as template. The vrt file using tif file is working