[Gdal-dev] pb creating a bmp

Stephane Routelous route at cae.com
Mon Sep 27 17:09:18 EDT 2004


Arg !!!
You are right. T: is full. (banging the head against the wall for spending 3
hours trying to find the problem)
Sorry :-(

Stephane

-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com]
Sent: Monday, September 27, 2004 4:00 PM
To: Stephane Routelous
Cc: 'gdal-dev at xserve.flids.com'
Subject: Re: [Gdal-dev] pb creating a bmp


Stephane Routelous wrote:
> Hi,
> 
> i'm using GDAL 1.2.2.0, released 2004/08/16 on Windows 2000 with
> VisualC++6.0 SP5
> 
> I was working with bmp file :
...
> as output (in stdout) I have :
> ERROR 3: Can't write block with X offset 0 and Y offset 0
> ERROR 3: Can't write block with X offset 0 and Y offset 1
> ERROR 3: Can't write block with X offset 0 and Y offset 2
> ERROR 3: Can't write block with X offset 0 and Y offset 3
> (...)
> ERROR 3: Can't write block with X offset 0 and Y offset 33
> ERROR 3: Can't write block with X offset 0 and Y offset 34
> 
> RasterIO returns CE_None and the created file is wrong.
> 
> can you help me with this problem ?
> I tried to check the gdal code when debugging, but I'm lost.

Stephane,

Hmm, your code works fine for me on Linux with the current CVS version.
No chance it is anything obvious like the T: drive being full is it?

I'll make a quick try on Windows when my wife makes way for me.

Best regards,
-- 
---------------------------------------+------------------------------------
--
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list