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
Ivan
--
ivan marchesini <marchesini@unipg.it>
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
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@unipg.it>
On Fri, Dec 03, 2004 at 01:38:59PM +0100, ivan marchesini wrote:
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!!!!!
The script also works with floating point coordinates (for me).
Please report the detailed log of sh -x.
Markus
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@unipg.it>
--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy