Re: [gdal-dev] Additional arguments in gdal driver.CreateCopy function

2016-04-22 Thread Even Rouault
Le vendredi 22 avril 2016 21:05:50, Didier Bernard a écrit : > Thank you for the reply Even, > > Would you mind if I just ask you how can I delete the new .tif file that > the driver.CreateCopy function created? When I try to delete it, it says: > > [Errno 13] The process cannot access the fi

Re: [gdal-dev] Additional arguments in gdal driver.CreateCopy function

2016-04-22 Thread Didier Bernard
Thank you for the reply Even, Would you mind if I just ask you how can I delete the new .tif file that the driver.CreateCopy function created? When I try to delete it, it says: [Errno 13] The process cannot access the file because it is being used by another process even though I did the f

Re: [gdal-dev] Additional arguments in gdal driver.CreateCopy function

2016-04-22 Thread Even Rouault
Le vendredi 22 avril 2016 20:10:48, Didier Bernard a écrit : > Hello, > > I would like to create a new .tif file in GDAL C# by using the > driver.CreateCopy 6949ef48797ce1> function. I have been reading gdal tutorial > page

[gdal-dev] Additional arguments in gdal driver.CreateCopy function

2016-04-22 Thread Didier Bernard
Hello, I would like to create a new .tif file in GDAL C# by using the driver.CreateCopy function. I have been reading gdal tutorial page and it looks like the python version of dr

Re: [gdal-dev] Problem with gdal_pansharpen tool

2016-04-22 Thread Even Rouault
Le vendredi 22 avril 2016 18:30:28, Lorenzo Bernardi a écrit : > Sorry. The same error: ERROR 1: Missing one of rasterXSize, rasterYSize or > bands on VRTDataset You still didn't reply to all ;-) OK, I see from the code that my proposed workaround will not work. You do need the Python bindings t

Re: [gdal-dev] Problem with gdal_pansharpen tool

2016-04-22 Thread Even Rouault
(Please keep the list CC'ed) > I tryed the solutions: gdal_pansharpen -of VRT panchro.tif > multispectral.tif pansharpend_output.vrt > but it does not work. That's not very informative for people not viewing your screen... Error message ? > > i'm not sure if i'm using the gdal-dev environment.

Re: [gdal-dev] Problem with gdal_pansharpen tool

2016-04-22 Thread Even Rouault
Le vendredi 22 avril 2016 17:57:57, Lorenzo Bernardi a écrit : > I'm using the gdal version provided with the OSGeo4W suite. > i have performed and updated just yesterday. > Do you know some solutions? I presume you use the gdal-dev environement ? If so, have a look at https://lists.osgeo.org/pipe

Re: [gdal-dev] Problem with gdal_pansharpen tool

2016-04-22 Thread Even Rouault
Le vendredi 22 avril 2016 17:37:19, Lorenzo Bernardi a écrit : > Hi, > i'm trying to perfom a pansharpening process using the gdal_pansharpen > tool. I used the following code: > > #!/usr/bin/env python > # -*- coding: utf-8 -*- > > > import sys, os > from osgeo import gdal > > def Usage(): >

[gdal-dev] Problem with gdal_pansharpen tool

2016-04-22 Thread Lorenzo Bernardi
Hi, i'm trying to perfom a pansharpening process using the gdal_pansharpen tool. I used the following code: #!/usr/bin/env python # -*- coding: utf-8 -*- import sys, os from osgeo import gdal def Usage(): print('Usage: gdal_pansharpen [--help-general] pan_dataset {spectral_dataset[,band=num

Re: [gdal-dev] GDAL/OGR 2.1.0 RC2 Available for Review

2016-04-22 Thread Even Rouault
Le vendredi 22 avril 2016 12:58:34, Marco Atzeri a écrit : > On 21/04/2016 21:52, Even Rouault wrote: > > Hi, > > > > I've issued a new RC to fix a trunk regression in the OGR VRT driver. > > attached patch to manage the latest location of qhull header. > (/usr/include/libqhull/libqhull.h) > It m

[gdal-dev] GDAL/OGR 2.1.0 RC3 Available for Review

2016-04-22 Thread Even Rouault
Hi, I've issued a new RC to fix the issues reported on RC2 (especially for the one on GNM Python bindings). Updated archives : http://download.osgeo.org/gdal/2.1.0/gdal-2.1.0RC3.tar.xz http://download.osgeo.org/gdal/2.1.0/gdal-2.1.0RC3.tar.gz http://download.osgeo.org/gdal/2.1.0/gdal210RC

Re: [gdal-dev] GDAL/OGR 2.1.0 RC2 Available for Review

2016-04-22 Thread Marco Atzeri
On 21/04/2016 21:52, Even Rouault wrote: Hi, I've issued a new RC to fix a trunk regression in the OGR VRT driver. attached patch to manage the latest location of qhull header. (/usr/include/libqhull/libqhull.h) It may need some adjustment but works for me on cygwin. I also noted that local