I want to import an SRTM file into JGrass.
First I tried creating a new workspace based on EPSG
4326, and then using r.in.arc:
r.in.arc input=S_42_19.ASC output=S_42_19.dem type=CELL
which produces the error message
sh: line 1: cd: HOME not set
ERROR: region for current mapset is invalid
line 7: <rows: 0>
run "g.region"
The start of S_42_19.ASC is:
ncols 6000
nrows 6000
xllcorner 25.000416666656
yllcorner -34.999583357558
cellsize 0.000833333333333
NODATA_value -9999
1485 1483 ...
Then I tried using an existing GRASS location (also
established as EPSG 4326). When loading it I get the
error:
jgrass.map.GrassLocationException: Error accessing
GRASS location file
file:/home/cwg/grassdata/SRTM/PERMANENT/DEFAULT_WIND
The contents of DEFAULT_WIND are:
proj: 3
zone: 0
north: 1N
south: 0
east: 1E
west: 0
cols: 1
rows: 1
e-w resol: 1
n-s resol: 1
top: 1
bottom: 0
cols3: 1
rows3: 1
depths: 1
e-w resol3: 1
n-s resol3: 1
t-b resol: 1
Regards,
Chris George
Logged In: YES
user_id=1317866
We are starting to work on the problem. JGrass does not
handle lat/long at all for now.
Has anyone a more indeep idea on how lat/long is handled in
GRASS? Do we have to transform?
Any help greatly appreciated.