Fwd: Re: [gdal-dev] VRT derived band, pixel functions and Python bindings

2012-03-22 Thread Even Rouault
--- Begin Message --- What would be your suggestion for additional flags to add for the compilation? Try : gcc -shared SpotBlue.o -o SpotBlue.so -lgdal Even thanks a lot, seems to have done the trick. That made the mentioned small script finish without errors. I will check then tomorrow if

Re: [gdal-dev] VRT derived band, pixel functions and Python bindings

2012-03-22 Thread Even Rouault
Le jeudi 22 mars 2012 21:52:03, Armin Burger a écrit : > On 22/03/2012 21:00, Even Rouault wrote: > > Le jeudi 22 mars 2012 19:26:56, Armin Burger a écrit : > >> Hi all > >> > >> I set up 2 pixel functions to be used with VRT images and derived bands. > >> This works fine with the GDAL utilities a

Re: [gdal-dev] VRT derived band, pixel functions and Python bindings

2012-03-22 Thread Armin Burger
On 22/03/2012 21:00, Even Rouault wrote: Le jeudi 22 mars 2012 19:26:56, Armin Burger a écrit : Hi all I set up 2 pixel functions to be used with VRT images and derived bands. This works fine with the GDAL utilities and also with MapServer and Python MapScript. If I try however to load the pix

Re: [gdal-dev] VRT derived band, pixel functions and Python bindings

2012-03-22 Thread Even Rouault
Le jeudi 22 mars 2012 19:26:56, Armin Burger a écrit : > Hi all > > I set up 2 pixel functions to be used with VRT images and derived bands. > This works fine with the GDAL utilities and also with MapServer and > Python MapScript. > > If I try however to load the pixel functions in GDAL-Python as

[gdal-dev] VRT derived band, pixel functions and Python bindings

2012-03-22 Thread Armin Burger
Hi all I set up 2 pixel functions to be used with VRT images and derived bands. This works fine with the GDAL utilities and also with MapServer and Python MapScript. If I try however to load the pixel functions in GDAL-Python as drivers, I run into problems. The following code from osgeo