No subject

Mariapia Pascarella mariapia at berlioz.crs4.it
Wed Feb 3 09:14:41 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

     +----------------------------+---------------------------------------+
     | Maria Pia Pascarella       |    Voice: (+39) 70 2796 248           |
     | SciVis Group - CRS4        |      Fax: (+39) 70 2796 283           |
     | Via N.Sauro, 10            | Internet: Mariapia.Pascarella at crs4.it |
     | 09123 - Cagliari - Italy   |   Bitnet: MARIAPIA at CRS4VM             | 
     +----------------------------+---------------------------------------+



More information about the grass-user mailing list