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

[gdal-dev] empty Gtiff from Python

2011-10-28 Thread Tom van der Putte
;D:\temp\output.tif", 10, 10, 1, gdal.GDT_Int32), but that didn't make much difference. I tried to make a Surfer grid (GSBG), and this somewhat worked: it gave a nice picture, but the values were off the charts. Any clues as to what I'm missing here? Cheers, Tom van der Putte ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Empty GTiff Cont'd

2011-10-28 Thread Tom van der Putte
I forgot to mention that I had replaced the original array with np.ones((10,10)) for testing purposes, the result stays the same... Tom ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] OGR: Get FID of last set feat in PG

2010-09-08 Thread Tom van der Putte
e resultset, so no *while* tempFID = seqFeat.GetFieldAsInteger("seqval"); ds2.ReleaseResultSet(tempLayer); Is it necessary to call ReleaseResultSet after every ExecuteSQL? Or only after the last one? Cheers, Tom On Wed 08/09/10 16:03 , Tom van der Putte t...@vdputte.nl sent: Hi All,

[gdal-dev] OGR: Get FID of last set feat in PG

2010-09-08 Thread Tom van der Putte
Hi All, I'm adding several new features to a PostGIS table using OGR (in C#). After each CreateFeature I'd like to somehow get the FID of the created feature. Is there any possible way to do this? If not elegant, any hack is also welcome :D Cheers, Tom _

Re: Re: [gdal-dev] Problems with C# ogr_wrap.dll

2010-02-10 Thread Tom van der Putte
, either by copying these dll-s into your executing directory or make them available in the PATH environment. Best regards, Tamas 2010/2/10 Tom van der Putte Hi, I'm currently having a problem getting the C# OGR binaries to work on a 64bit WinXP Pro machine, using VS2008 Pro. Ive tried both

[gdal-dev] Problems with C# ogr_wrap.dll

2010-02-10 Thread Tom van der Putte
Hi, I'm currently having a problem getting the C# OGR binaries to work on a 64bit WinXP Pro machine, using VS2008 Pro. Ive tried both the 32bit Binaries and the 64 bit binaries. * Using the 32bit binaries from http://vbkto.dyndns.org:1280/sdk/Default.aspx [1] as well as the general FW windows bin