GEOCON File Processing Routines
|
Data Fields | |
int | magic |
int | version |
int | hdrlen |
int | reserved |
char | info [GEOCON_HDR_INFO_LEN] |
char | source [GEOCON_HDR_INFO_LEN] |
char | date [GEOCON_HDR_DATE_LEN] |
int | lat_dir |
int | lon_dir |
int | nrows |
int | ncols |
double | lat_south |
double | lat_north |
double | lon_west |
double | lon_east |
double | lat_delta |
double | lon_delta |
double | horz_scale |
double | vert_scale |
char | from_gcs [GEOCON_HDR_NAME_LEN] |
char | from_vcs [GEOCON_HDR_NAME_LEN] |
double | from_semi_major |
double | from_flattening |
char | to_gcs [GEOCON_HDR_NAME_LEN] |
char | to_vcs [GEOCON_HDR_NAME_LEN] |
double | to_semi_major |
double | to_flattening |
GEOCON file header
This is an image of the header part of a binary GEOCON file. Note that all character-string fields should be zero-filled.
char GEOCON_FILE_HDR::date[GEOCON_HDR_DATE_LEN] |
"YYYY-MM-DD[ HH:MM:SS]"
double GEOCON_FILE_HDR::from_flattening |
From ellipsoid flattening
char GEOCON_FILE_HDR::from_gcs[GEOCON_HDR_NAME_LEN] |
From geogcs name
double GEOCON_FILE_HDR::from_semi_major |
From ellipsoid semi-major axis
char GEOCON_FILE_HDR::from_vcs[GEOCON_HDR_NAME_LEN] |
From vertcs name
int GEOCON_FILE_HDR::hdrlen |
Header length
double GEOCON_FILE_HDR::horz_scale |
Horizontal units per degree
char GEOCON_FILE_HDR::info[GEOCON_HDR_INFO_LEN] |
File description
double GEOCON_FILE_HDR::lat_delta |
Latitude increment in degrees
int GEOCON_FILE_HDR::lat_dir |
Direction of lat values (S-N or N-S)
double GEOCON_FILE_HDR::lat_north |
North latitude ( -90 to +90) degs
double GEOCON_FILE_HDR::lat_south |
South latitude ( -90 to +90) degs
double GEOCON_FILE_HDR::lon_delta |
Longitude increment in degrees
int GEOCON_FILE_HDR::lon_dir |
Direction of lon values (E-W or W-E)
double GEOCON_FILE_HDR::lon_east |
East longitude (-180 to +180) degs
double GEOCON_FILE_HDR::lon_west |
West longitude (-180 to +180) degs
int GEOCON_FILE_HDR::magic |
Magic number
int GEOCON_FILE_HDR::ncols |
Number of cols in data
int GEOCON_FILE_HDR::nrows |
Number of rows in data
int GEOCON_FILE_HDR::reserved |
Reserved - should be 0
char GEOCON_FILE_HDR::source[GEOCON_HDR_INFO_LEN] |
Source of this data
double GEOCON_FILE_HDR::to_flattening |
To ellipsoid flattening
char GEOCON_FILE_HDR::to_gcs[GEOCON_HDR_NAME_LEN] |
To geogcs name
double GEOCON_FILE_HDR::to_semi_major |
To ellipsoid semi-major axis
char GEOCON_FILE_HDR::to_vcs[GEOCON_HDR_NAME_LEN] |
To vertcs name
int GEOCON_FILE_HDR::version |
Header version
double GEOCON_FILE_HDR::vert_scale |
Vertical units per meter