[GRASS5] core dumps after i.rectify
grass at gevaerts.be
grass at gevaerts.be
Mon Dec 31 11:24:07 EST 2001
On Mon, 31 Dec 2001, Markus Neteler wrote:
> On Mon, Dec 31, 2001 at 11:04:50AM +0100, grass at gevaerts.be wrote:
> > On Sun, 30 Dec 2001, Markus Neteler wrote:
> >
> > > Hi,
> > >
> > > below sound very much like the "i.rectify-doesn't-write-the-file-completely"
> > > bug.
> > >
> > > Frank, can you verify that the hard drive *always* provides enough
> > > space? At time i.rectify silently dies if the drive is full.
> > > However, there might be other bugs in certain cases...
> >
> > I think I found it.
> > The cellhd file for the rectified image was :
> > proj: 3
> > zone: 0
> > north: 1:57:21.412104N
> > south: 20:22:26.088173S
> > east: 36:24:44.4E
> > west: 23:25:44.4E
> > cols: 1558
> > rows: 2680
> > e-w resol: 0:00:30
> > n-s resol: 0:00:29.995336
> > format: 0
> > compressed: 1
> >
> > After I changed 'format' from 0 to 1 everything seems to wrok fine. So
> > i.rectify apparently sets this wrong (at least in some cases).
Another possibly related problem : if the source raster is not compressed,
the rectified raster is compressed, but marked as not compressed.
Frank
>
> Wow - excellent. Now we have to identify the problem in i.rectify.
> A candidate is
> src/imagery/i.rectify2/rectify.c
> [...]
> G_set_cell_format (cellhd.format);
>
> Mhhh, why is this function needed here?
>
> Happy new year to everybody!
>
> Markus
>
>
HI! I'm a .signature virus! cp me into your .signature file to help me spread!
More information about the grass-dev
mailing list