Re: [JGrass-devel] grass { r.shaded.relief.bat map=demED50 shadedmap=rilievoOmbreggiato2 altitude=30 azimuth=270 zmult=1 scale=1 units=meters }

2008-12-15 Thread andrea antonello
Hi Giuseppe,
in the latest version of JGrass (the 4udig branch) you should no
longer need to set GRASS_SH, since I added it to the variables JGrass
sets.
So perhaps by doing things manually something is breaking?

Try with a fresh GRASS install, without setting any variable in windows.

Let me know,
Ciao
Andrea


On Mon, Dec 15, 2008 at 3:08 PM, Giuseppe Cinque gfcin...@gmail.com wrote:
 Hi,
 in windows xp I set up the environment variable:

 GRASS_SH = 

 and in path:

 C:\GRASS\msys\bin

 I change C:\grass63RC5\grass-6.3.0RC5\etc\Init.bat

 GRASS_SH=c:\msys\1.0\bin\sh.exe

 in

 GRASS_SH=C:\GRASS\msys\bin\sh.exe

 When I launch the grass command:
 grass r.shaded.relief.bat -help

 in output there is:
 C:\grass63RC5\grass-6.3.0RC5/scripts/r.shaded.relief: basename:
 command not found

 Description:
  Creates shaded relief map from an elevation map (DEM).

 Keywords:
  raster, elevation

 Usage:
  r.shaded.relief map=string [shadedmap=string] [altitude=value]
   [azimuth=value] [zmult=value] [scale=value] [units=string]
   [--overwrite] [--verbose] [--quiet]

 Flags:
  --o   Allow output files to overwrite existing files
  --v   Verbose module output
  --q   Quiet module output

 Parameters:
map   Input elevation map
  shadedmap   Output shaded relief map name
   altitude   Altitude of the sun in degrees above the horizon
  options: 0-90
  default: 30
azimuth   Azimuth of the sun in degrees to the east of north
  options: 0-360
  default: 270
  zmult   Factor for exaggerating relief
  default: 1
  scale   Scale factor for converting horizontal units to elevation units
  default: 1
  units   Set scaling factor (applies to lat./long. locations only)
  options: meters,feet

 If I launch the grass command:
 grass r.shaded.relief.bat map=demED50 shadedmap=rilievoOmbreggiato2
 altitude=30 azimuth=270 zmult=1 scale=1 units=meters --overwrite

 in output there is:
 C:\grass63RC5\grass-6.3.0RC5/scripts/r.shaded.relief: basename:
 command not found
 _spawnlp() failed: Invalid argument
 r.shaded.relief.bat : exit code: 1

 Some idea?

 Thank you

___
JGrass-devel mailing list
JGrass-devel@dev.fsc.bz.it
https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-devel


Re: [JGrass-devel] grass { r.shaded.relief.bat map=demED50 shadedmap=rilievoOmbreggiato2 altitude=30 azimuth=270 zmult=1 scale=1 units=meters }

2008-11-11 Thread iomeneandrei

Ciao Andrea,

Andrea Antonello wrote:
 
 where is the script located? In the same as teh grass commands or in
 another path?
 

I have these two files:
C:\Program Files\jgrass\jgrass\grass\bin\r.shaded.relief.bat
C:\Program Files\jgrass\jgrass\grass\scripts\r.shaded.relief

Thank you,

a

-
Andrea Borruso


email: [EMAIL PROTECTED]
blog: http://blog.spaziogis.it

-- 
View this message in context: 
http://n2.nabble.com/grass-%7B-r.shaded.relief.bat-map%3DdemED50-shadedmap%3DrilievoOmbreggiato2-altitude%3D30-azimuth%3D270-zmult%3D1-scale%3D1-units%3Dmeters-%7D-tp823000p1485117.html
Sent from the JGrass-devel -- Developer list for jgrass mailing list archive at 
Nabble.com.

___
JGrass-devel mailing list
JGrass-devel@dev.fsc.bz.it
https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-devel


Re: [JGrass-devel] grass { r.shaded.relief.bat map=demED50 shadedmap=rilievoOmbreggiato2 altitude=30 azimuth=270 zmult=1 scale=1 units=meters }

2008-11-11 Thread iomeneandrei

Ciao Andrea,

Andrea Antonello wrote:
 
 However today in the afternoon I should be able to test the new
 package on a windows machine. I'll let you know if I can find
 something.
 

only to inform you that I'm not able to run r.shaded.relief.bat using
JGrass console also in JGrass foss4g 2008 version.

Have a nice day  ;-) 

a

-
Andrea Borruso


email: [EMAIL PROTECTED]
blog: http://blog.spaziogis.it

-- 
View this message in context: 
http://n2.nabble.com/grass-%7B-r.shaded.relief.bat-map%3DdemED50-shadedmap%3DrilievoOmbreggiato2-altitude%3D30-azimuth%3D270-zmult%3D1-scale%3D1-units%3Dmeters-%7D-tp823000p1484702.html
Sent from the JGrass-devel -- Developer list for jgrass mailing list archive at 
Nabble.com.

___
JGrass-devel mailing list
JGrass-devel@dev.fsc.bz.it
https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-devel


Re: [JGrass-devel] grass { r.shaded.relief.bat map=demED50 shadedmap=rilievoOmbreggiato2 altitude=30 azimuth=270 zmult=1 scale=1 units=meters }

2008-09-08 Thread iomeneandrei

Ciao Andrea,

Andrea Antonello wrote:
 
 However today in the afternoon I should be able to test the new
 package on a windows machine. I'll let you know if I can find
 something.
 

do you have the time to make that test? Sorry for the insistence, and please
delete this email if you do not hava had the time.

Grazie e scusami,

Andrea


-
Andrea Borruso


email: [EMAIL PROTECTED]
blog: http://blog.spaziogis.it

-- 
View this message in context: 
http://n2.nabble.com/grass-%7B-r.shaded.relief.bat-map%3DdemED50-shadedmap%3DrilievoOmbreggiato2-altitude%3D30-azimuth%3D270-zmult%3D1-scale%3D1-units%3Dmeters-%7D-tp823000p1048158.html
Sent from the JGrass-devel -- Developer list for jgrass mailing list archive at 
Nabble.com.

___
JGrass-devel mailing list
JGrass-devel@dev.fsc.bz.it
https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-devel


Re: [JGrass-devel] grass { r.shaded.relief.bat map=demED50 shadedmap=rilievoOmbreggiato2 altitude=30 azimuth=270 zmult=1 scale=1 units=meters }

2008-09-03 Thread iomeneandrei

Ciao Andrea,


Andrea Antonello wrote:
 
 If you want a quickly try, I would suggest you to put the name
 r.shaded.relief.bat in the list of nativemodels.xml in the rt folder
 (the one you supply in the console preferences).
 Relaunch JGrass, try it out and (here I'm praying for you and also for
 me :)) let us know what happens.
 

I have tried but it's impossible to run it :-(

What do you think about??

Ciao e grazie,

a

-
Andrea Borruso


email: [EMAIL PROTECTED]
blog: http://blog.spaziogis.it

-- 
View this message in context: 
http://n2.nabble.com/grass-%7B-r.shaded.relief.bat-map%3DdemED50-shadedmap%3DrilievoOmbreggiato2-altitude%3D30-azimuth%3D270-zmult%3D1-scale%3D1-units%3Dmeters-%7D-tp823000p836752.html
Sent from the JGrass-devel -- Developer list for jgrass mailing list archive at 
Nabble.com.

___
JGrass-devel mailing list
JGrass-devel@dev.fsc.bz.it
https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-devel


Re: [JGrass-devel] grass { r.shaded.relief.bat map=demED50 shadedmap=rilievoOmbreggiato2 altitude=30 azimuth=270 zmult=1 scale=1 units=meters }

2008-09-03 Thread andrea antonello
 If you want a quickly try, I would suggest you to put the name
 r.shaded.relief.bat in the list of nativemodels.xml in the rt folder
 (the one you supply in the console preferences).
 Relaunch JGrass, try it out and (here I'm praying for you and also for
 me :)) let us know what happens.


 I have tried but it's impossible to run it :-(

 What do you think about??

Hei, usually yo supply me with some more info :)

Did it launch the script but didn't find the path to the internal commands?
Wasn't it able to execute it?
Did it throw an error?

Ciao
Andrea



 Ciao e grazie,

 a

 -
 Andrea Borruso

 
 email: [EMAIL PROTECTED]
 blog: http://blog.spaziogis.it
 
 --
 View this message in context: 
 http://n2.nabble.com/grass-%7B-r.shaded.relief.bat-map%3DdemED50-shadedmap%3DrilievoOmbreggiato2-altitude%3D30-azimuth%3D270-zmult%3D1-scale%3D1-units%3Dmeters-%7D-tp823000p836752.html
 Sent from the JGrass-devel -- Developer list for jgrass mailing list archive 
 at Nabble.com.

 ___
 JGrass-devel mailing list
 JGrass-devel@dev.fsc.bz.it
 https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-devel

___
JGrass-devel mailing list
JGrass-devel@dev.fsc.bz.it
https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-devel