[GRASS5] Re: i.rectify2 // r.in.tiff

C.Hoegl at gmx.net C.Hoegl at gmx.net
Mon Jun 26 09:00:23 EDT 2000



On Mon, 26 Jun 2000, Markus Neteler wrote:

Hi all,
The version used is current from cvs (2000-06-23)

patching write.c like this
--- write.c     Thu Jun 22 18:13:04 2000
+++ write.c.new Mon Jun 26 14:50:20 2000
@@ -66,7 +66,6 @@
        {
          /* BUGFIX: printf substituted with sprintf */
          sprintf(buf, "error writing row %d\n", row);
-          G_fatal_error(buf);
        }
        if(G_put_raster_row(fd,rast, map_type) < 0)
        {

one gets all files (and a success mail)
displaying the result (d.rast in the world dataset) the raster looks like
torn into stripes. (large white fields with data intermixed on a line
base)

(the image is to large to post here)
(color space seems to cycle from red to green and blue within the image
which is not true for the source ppm)
> HI Christoph,
> 
> you need at least GRASS 5 beta7. Otherwise it won't work.
> Which GRASS 5 do you have?
> 
>  Cheers 
> 
>  Markus
> 
> On Thu, Jun 22, 2000 at 06:33:19PM +0200, C.Hoegl at gmx.net wrote:
> > Hello,
> > has anyone out there i.rectified2 a plane bitmap (x,y) onto a DEM (globe)
> > using the latest i.rectify2 module? (CVS)
> > 
> > Here is what i did:
> > 1. r.in.ppm of the image into imagery dataset
> > 2. logged out / logged into world dataset
> > 3. g.region of target area
> > 4. log out of world dataset  -> imagery
> > 5. i.group & i.target & i.points
> > 6. i.rectify2 (3rd order poly (but didn't matter on later tries))
> > 7. got a mail: couldn't write row ...
> > 

//

r.in.tiff
seems to be broken if tifflib has -ljpeg and -lz compiled in.

I try to fix this using a smarter configuration test

regards,
Christoph


---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list