|
TOLADD Documentation
Programmer: Edward Carlson
Last Update: 07/08/87
A. PURPOSE:
To add a given shift in seconds to each latitude and longitude in a
blue book.
B. INPUT:
- User's Blue Book deck of geodetic positions, which is stored on a floppy
disk or in the main storage of the personal computer. The station records
must follow the format given in Appendix A.
- A shift, in seconds, to be added to each latitude.
- A shift, in seconds, to be added to each longitude.
C. OUTPUT:
The user's Blue Book deck with the shifts added to each latitude and longitude.
D. METHOD:
Program TOLADD reads each record and tests the record type. If it is not
a *80* record, the record is written to the output file. If the record
is a geodetic position, the given shifts are added to the latitude and
longitude and then the record is written to the output file. NOTE: Only
one latitude and one longitude shift value for a given blue book is allowed.
E. EXECUTION:
Load the program (TOLADD.EXE) from the floppy disk to the main storage,
or program can be executed from a floppy disk drive.
To execute the program:
Type TOLADD (hard disk) or (disk drive name): TOLADD (floppy disk)
The program will prompt for:
Name of the user's input blue book deck.
Name of the output blue book deck.
Shift, in seconds, to be added to the latitude.
Shift, in seconds, to be added to the longitude.
APPENDIX A
Control Point Record (IE: *80* record) **
CC01-06 Sequence Number (OPTIONAL)
CC07-10 Data Code (IE: *80*)
CC11-13 Station Serial Number (OPTIONAL)
CC14 Blank
CC15-44 Station Name
CC45-55 Geodetic Latitude: Deg-Min-Sec, to 5 decimal places, decimal point
implied between
CC50-51 (DDMMSSsssss)
CC56 Direction of Latitude: N or S
CC57-68 Geodetic Longitude: Deg-Min-Sec, to 5 decimal places, decimal
point implied between
CC63-64 (DDDMMSSsssss)
CC69 Direction of Longitude: E or W
CC70-75 Elevation of mark above MSL, in meters, decimal point implied
between
CC73-74 (EEEEee) (OPTIONAL)
CC76 Elevation code (OPTIONAL)
CC77-78 State or Country Code (OPTIONAL)
CC79-80 Station Order and Type (OPTIONAL)
** Format specified in the FGCC publication, Input Formats and Specifications
of the National Geodetic Survey Data Base.
|