Il giorno Sun, 8 Mar 2009 20:51:46 +0100
Even Rouault ha scritto:
> Antonio,
>
> There are 2 issues :
[cut]
> - the crash comes from the fact that you don't have defined a pixel
> function for the derived band. I've created ticket
> http://trac.osgeo.org/gdal/ticket/2877 about that one.
Even
Forget what I told about GDALAddDerivedBandPixelFunc ... This is certainly not
the way to define the function name.
Le Sunday 08 March 2009 20:51:46 Even Rouault, vous avez écrit :
> Antonio,
>
> There are 2 issues :
> - the "ERROR 1: Corrupt or empty VRT source XML document." comes from the
> l
Antonio,
There are 2 issues :
- the "ERROR 1: Corrupt or empty VRT source XML document." comes from the
line 'b.SetMetadata(md, 'new_vrt_sources')'. However I'm not sure how to
achieve what you want to do. I've the feeling you can't really define the
pixel function that way. You should call GD
Il giorno Thu, 05 Mar 2009 09:26:51 -0500
Frank Warmerdam ha scritto:
> Antonio Valentino wrote:
> > Hi list,
> > I'm trying to create a *Derived* raster band in a virtual dataset.
> >
> > All my attempts seems to fail:
> >
> ds.AddBand(options={'subClass': 'VRTDerivedRasterBand'})
> >
>
Antonio Valentino wrote:
Hi list,
I'm trying to create a *Derived* raster band in a virtual dataset.
All my attempts seems to fail:
ds.AddBand(options={'subClass': 'VRTDerivedRasterBand'})
raises an exception while
ds.AddBand(options='subClass="VRTDerivedRasterBand"')
ds.AddBand(options=['
Hi list,
I'm trying to create a *Derived* raster band in a virtual dataset.
All my attempts seems to fail:
>>> ds.AddBand(options={'subClass': 'VRTDerivedRasterBand'})
raises an exception while
>>> ds.AddBand(options='subClass="VRTDerivedRasterBand"')
>>> ds.AddBand(options=['subClass="VRTDeriv