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
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
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
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
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,
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
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