Functions

Functions

boolvec * dem_load (const char *filename, const char *demname=0)
 
boolvec * dem_load_grd (const char *filename, const char *demname=0)
 
boolvec * dem_load_dtm (const char *hdr_filename, const char *name, const char *bin_filename=0)
 
boolvec * dem_load_hgt (const char *hgt_filename, const char *demname=0)
 
boolvec * dem_load_hgt_zip (const char *hgt_filename, const char *demname=0)
 
boolvec * dem_load_globe (const char *filename, const char *demname=0)
 
boolvec * dem_save (const char *filename, const char *dem_name="*")
 
boolvec * dem_save_grd (const char *filename, const char *dem_name="*")
 
boolvec * dem_save_xyz (const char *filename, const char *dem_name="*")
 
boolvec * dem_save_dtm (const char *filename, const char *dem_name="*")
 

Detailed Description

Function Documentation

bool dem_load ( const char *  filename,
const char *  demname = 0 
)
Tcl syntax:
dem_load filename "demname"
Description:
loads DEM named 'demname' from surfit datafile. If no demname specified, then loads the first one.
Parameters
filenamesurfit datafile
demnamename of DEM (optional)
bool dem_load_dtm ( const char *  hdr_filename,
const char *  name,
const char *  bin_filename = 0 
)
Tcl syntax:
dem_load_dmt hdr_filename "demname" "bin_filename"
Description:
loads DEM from DTM files (hdr + bin)
bool dem_load_globe ( const char *  filename,
const char *  demname = 0 
)
Tcl syntax:
dem_load_globe filename
Description:
loads DEM from GTOPO30 files (The Global Land One-km Base Elevation (GLOBE) Project)
bool dem_load_grd ( const char *  filename,
const char *  demname = 0 
)
Tcl syntax:
dem_load_grd filename "demname"
Description:
loads DEM from SURFER grd file (ASCII format)
Parameters
filenameSurfer GRD-ASCII file
demnamename of DEM (optional)
bool dem_load_hgt ( const char *  hgt_filename,
const char *  demname = 0 
)
Tcl syntax:
dem_load_hgt hgt_filename "demname"
Description:
loads DEM from HGT files (Shuttle Radar Topographic Mission files)
bool dem_load_hgt_zip ( const char *  hgt_filename,
const char *  demname = 0 
)
Tcl syntax:
dem_load_hgt_zip hgt_filename "demname"
Description:
loads DEM from zipped HGT files (Shuttle Radar Topographic Mission files)
bool dem_save ( const char *  filename,
const char *  dem_name = "*" 
)
Tcl syntax:
dem_save "filename" dem_name
Description:
saves DEM to surfit datafile
bool dem_save_dtm ( const char *  filename,
const char *  dem_name = "*" 
)
Tcl syntax:
dem_save_dtm "filename" dem_name
Description:
saves DEM to DTM files (hdr + bin)
bool dem_save_grd ( const char *  filename,
const char *  dem_name = "*" 
)
Tcl syntax:
dem_save_grd "filename" dem_name
Description:
saves DEM to SURFER grd file (ASCII format)
bool dem_save_xyz ( const char *  filename,
const char *  dem_name = "*" 
)
Tcl syntax:
dem_save_xyz "filename" dem_name
Description:
saves DEM to XYZ text format



surfit: gridding and contouring software.