No subject
Mariapia Pascarella
mariapia at berlioz.crs4.it
Fri Feb 5 06:13:30 EST 1993
Subject: HELP
Hi,
I am having trouble using m.dem.extract to extract data from a DEM file. I
have obtained the updated version of m.dem.extract from /grass/grass4.0/
updates/src/misc but it don't work well.
As suggest I have removed CR and LF from dem file but the result is the same.
If I examine the file with m.dem.examine the ouput is:
file #1
HONOLULU, HI
min elevation: 0.000000 max elevation: 3123.000000
ns_res: 30.000000 ew_res: 30.000000
# of columns in file = 435
file north UTM = 2364006.500000
file south UTM = 2350074.750000
file east UTM = 627108.875000
file west UTM = 614040.625000
tape min elevation:0 tape max elevation:3123
-------------------------------------------------------------------------------
-
If I use m.dem.extract to examine the dem file the ouput is:
File # 1
HONOLULU, HI
min elevation: 0.000000 max elevation: 3123.000000
ns_res: 30.000000 ew_res: 30.000000
# of columns in file = 435
C-record: 0
file north UTM = 2364006.477000
file south UTM = 2350074.767000
file east UTM = 627108.861000
file west UTM = 614040.626000
get_int: can't get more buffer
get_int: can't get more buffer
get_int: can't get more buffer
get_int: can't get more buffer
get_int: can't get more buffer
get_int: can't get more buffer
.
.
.
get_double: can't get more buffer
get_double: can't get more buffer
get_double: can't get more buffer
.
.
.
get_int: can't get more buffer
get_int: can't get more buffer
get_int: can't get more buffer
get_int: can't get more buffer
get_int: can't get more buffer
----------------------------------------------
end of records
If I try to extract data from dem file the output is:
Reading Elevation Tape...
--------------------------------------------------------------------------------
File # 1
HONOLULU, HI
min elevation: 0.000000 max elevation: 3123.000000
ns_res: 30.000000 ew_res: 30.000000
# of columns in file = 435
C-record: 0
file north UTM = 2364006.477000
file south UTM = 2350074.767000
file east UTM = 627108.861000
file west UTM = 614040.626000
ERROR: could not find data in correct file
--------------------------------------------------------------------------------
I have token the dem file from spectrum.xerox.com.
Where I'm wrong?
Can you send me some informations about dem format, which informations conteins Header and so on?
Thank's for your help
Maria Pia
More information about the grass-user
mailing list