[GRASSLIST:5037] Re: r.plane problem

Markus Neteler neteler at itc.it
Fri Dec 3 05:30:46 EST 2004


On Thu, Dec 02, 2004 at 06:35:37PM +0100, ivan marchesini wrote:
> Dear users...
> I'm trying to use r.plane within grass57...
> the region settings are:
> 
> __________________________
> zone:       0
> datum:      rome40
> ellipsoid:  international
> north:      4745617.74
> south:      4743280.26
> west:       2350445.5
> east:       2355261.01
> nsres:      1.72
> ewres:      1.61
> rows:       1359
> cols:       2991
> ___________________________
> 
> I use this command:
> 
> ______________________________________________________________
> r.plane dip=30 az=100 ea=2355000 no=4745000 el=100 name=plane
> ______________________________________________________________
> 
> 
> and I obtain:
> 
> 
> ____________________________________________________________________
> /usr/local/grass-5.7.cvs/scripts/r.plane: line 112: test: 2355261.01:
> integer expression expected
> Sorry, point must be within current region
> Current region:
> west: 2350445.5 east: 2355261.01
> _____________________________________________________________________
> 
> do you know which is the problem???
> thank you

I tried with Gauss-Boaga Fuso Ovest,
works fine.

To debug this shell script, simply edit
 /usr/local/grass-5.7.cvs/scripts/r.plane
and add -x to the top line:
 #!/bin/sh -x

Then re-run and it will display all steps. From that you
may understand what's wrong (and report or send the fix).

Thanks

 Markus




More information about the grass-user mailing list