As a first attempt to use GRASS commands in the new JGrass console environment in windows, I tried to use the basical GRASS commands like g.region or something to import and create a new location (since at present JGrass hasn't the new location creation tools).
GRASS commands in JGrass console environment can be used by writing the "grass" word before the string of the GRASS command. The string of the GRASS command has to be the same as in GRASS console.
Before using GRASS commands I had to set the runtime preferences. From the right mouse button on the console window, select Set Runtime Preferences and then choose the position of the location and the name of the mapset to use.
My first step was to download from the province website the dtm (lidar dtm at a 2.5 resolution), available free at http://www.provinzia.bz.it/urbanistica/cartografia/cartografia.asp, previous registration.
So used with success the commands:
1. grass r.in.gdal input=D:\path_to_the_ascii_file.ascii output=dtm location=alto_adige
2. grass g.region -p
3. grass r.info dtm
Friday, February 22, 2008
Subscribe to:
Post Comments (Atom)
1 comment:
We want to see screenshots!!!!! :)
Post a Comment