[GRASSLIST:5042] Re: r.plane problem
ivan marchesini
marchesini at unipg.it
Fri Dec 3 07:38:59 EST 2004
Thank you Markus....
I have seen that the problem was the region...
because I had float value and the script needs integer.....
simply changing float value to integer all is correctly working!!!!!
thank you
Il giorno ven, 03-12-2004 alle 11:30 +0100, Markus Neteler ha scritto:
> 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
>
--
ivan marchesini <marchesini at unipg.it>
More information about the grass-user
mailing list