Re: [gdal-dev] empty Gtiff from Python

2012-01-31 Thread questions anon
Was this problem solved? I have tried both dst_ds.GetRasterBand(1).WriteArray(myarray) gdal.Band.WriteArray(dst_ds.GetRasterBand(1), myarray) but my tiff still results in zeros. Any feedback will be greatly appreciated. On Fri, Oct 28, 2011 at 7:23 PM, Tom van der Putte wrote: > Hi List, > > I'm

Re: RE: [gdal-dev] empty Gtiff from Python

2011-10-28 Thread Tom van der Putte
Metadata: STATISTICS_MINIMUM=1 STATISTICS_MAXIMUM=1 STATISTICS_MEAN=1 STATISTICS_STDDEV=0 Date: Fri, 28 Oct 2011 10:23:04 +0200 From: Tom van der Putte Subject: [gdal-dev] empty Gtiff from Python To: Message-ID: Content-Type: text/plain; charset="utf-8" Hi

RE: [gdal-dev] empty Gtiff from Python

2011-10-28 Thread Chris Yesson
ATISTICS_MAXIMUM=1 STATISTICS_MEAN=1 STATISTICS_STDDEV=0 Date: Fri, 28 Oct 2011 10:23:04 +0200 From: Tom van der Putte Subject: [gdal-dev] empty Gtiff from Python To: Message-ID: <4335.1319790...@vdputte.nl> Content-Type: text/plain; charset="utf-8" Hi List, I'm t

Re: RE: [gdal-dev] empty Gtiff from Python

2011-10-28 Thread Tom van der Putte
ta: STATISTICS_MINIMUM=1 STATISTICS_MAXIMUM=1 STATISTICS_MEAN=1 STATISTICS_STDDEV=0 Date: Fri, 28 Oct 2011 10:23:04 +0200 From: Tom van der Putte Subject: [gdal-dev] empty Gtiff from Python To: Message-ID: Content-Type: text/plain; charset="utf-8" Hi List, I

Re: Re: [gdal-dev] empty Gtiff from Python

2011-10-28 Thread Tom van der Putte
Hi Vincent, Thanks for the repliy; unfortunately gdal_array.BandWriteArray(ds.GetRasterBand(1),a) (BandWriteAsArray doesn't exist) has the same effect. Tom On Fri 28/10/11 10:57 , Vincent Schut sc...@sarvision.nl sent: Tom van der Putte wrote:Hi List,

Re: [gdal-dev] empty Gtiff from Python

2011-10-28 Thread Vincent Schut
Tom van der Putte wrote: Hi List, I'm trying to save a numpy array to a GTiff, which should be quite straightforward, considering all the examples available on the web. However, I get an file that is not readable by Qgis, is regarded by ArcMap to have only 0 and gdalinfo displays nothing on t

[gdal-dev] empty Gtiff from Python

2011-10-28 Thread Tom van der Putte
Hi List, I'm trying to save a numpy array to a GTiff, which should be quite straightforward, considering all the examples available on the web. However, I get an file that is not readable by Qgis, is regarded by ArcMap to have only 0 and gdalinfo displays nothing on the values. I start with a nda