Category : Science and Education
Archive   : GEOVIEW.ZIP
Filename : GVGLOBAL.PAS
interface
const
R5 = 3432; {earth radius in NM}
type
{$IFOPT N+ } { use 80x87 data types for speed }
RealType = double;
{$ELSE} { use only 80x86 data types }
RealType = real;
{$ENDIF}
point = record
code,
lat,
lon : integer;
end;
var
Intro_Pause : integer; { Number of seconds to display intro }
LineColor : word; { the current line drawing color }
next_point,
last_point : point;
Done : boolean; { TRUE if user presses
to exit }
infile : file of point;
ViewPortX, ViewPortY,
saveX, saveY : integer;
line_type : integer;
visible : boolean;
DEG_TO_RAD : RealType; {Factor to convert from degrees to radians}
MIN_TO_RAD : RealType; {Factor to convert from minutes to radians}
World_X_min : RealType; {Min world X or Longitude value}
World_X_max : RealType; {Max " " " " " }
World_Y_min : RealType; {Min " Y " Latitude " }
World_Y_max : RealType; {Max " " " " " }
L1 : RealType; { Satellite latitude in radians }
L2 : RealType; { Satellite longitude in radians }
H0 : RealType; { Satellite altitude in nautical miles }
Detail_Level : RealType; { Detail level to be plotted }
save_L1 : RealType; { Satellite latitude in radians }
save_L2 : RealType; { Satellite longitude in radians }
save_H0 : RealType; { Satellite altitude in nautical miles }
save_Detail_Level : RealType; { Detail level to be plotted }
sat_Lat : RealType; {Satellite latitude in degrees}
sat_Lon : RealType; {Satellite longitude in degrees}
sat_ALT : RealType; {Satellite altitude in nautical miles}
S : RealType; {Distance from point on earth to satellite}
S0 : RealType; {Distance from the satellite to the horizon}
S1 : RealType; {Projected X component}
S2 : RealType; {Projected Y component}
S3 : RealType; {Projected Z component}
Lat : RealType; {Unprojected latitude in radians}
Lon : RealType; {Unprojected longitude in radians}
Proj_Lat : RealType; {Projected latitude in radians}
Proj_Lon : RealType; {Projected longitude in radians}
G0 : RealType; {Largest distance from satellite coords at}
{which points will be plotted. i.e. the }
{maximum projected Lat/Lon distance in NM}
{Constants}
sinL1 : RealType; {which are computed}
cosL1 : RealType; {and used by the coordinate}
sinL2 : RealType; {projection and scaling routine}
cosL2 : RealType;
sinL1sinL2 : RealType;
sinL1cosL2 : RealType;
S1adjust : RealType;
S2adjust : RealType;
S3adjust : RealType;
Adjust_X : RealType; { scaling constants}
Adjust_Y : RealType; { " }
implementation
end.
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/