|
ocssw
V2022
|
#include <stdio.h>#include <stdlib.h>#include <fcntl.h>#include <string.h>#include <errno.h>#include <unistd.h>#include "genutils.h"Go to the source code of this file.
Macros | |
| #define | CMD_ARGS "f:o:l:s:" /* Valid commandline options */ |
| #define | MAXRECLEN 13864 |
| #define | INRECLEN 13860 /* # Bytes in raw minor frame */ |
| #define | OUTRECLEN 21504 /* # Bytes in level-0 record */ |
| #define | OUTHDRLEN 512 /* # Bites in level-0 header */ |
Typedefs | |
| typedef unsigned char | BYTE |
| typedef short int | INT16 |
| typedef int32_t | INT32 |
Functions | |
| void | bit10toi2 (BYTE bit10[], INT16 ints[]) |
| int | main (int argc, char *argv[]) |
Macro Definition Documentation
◆ CMD_ARGS
◆ INRECLEN
◆ MAXRECLEN
◆ OUTHDRLEN
◆ OUTRECLEN
Typedef Documentation
◆ BYTE
◆ INT16
◆ INT32
Function Documentation
◆ bit10toi2()
◆ main()
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
An implementation of a Lon/Lat to UTM zone code written by Chuck Gantz chuck.gantz@globalstar.com ...in 1998...found on http://www.gpsy.com/gpsinfo/geotoutm/, a site published by Karen Nakamura, last updated 22 June 2000.
Minor modifications to the code were made to eliminate deprecation warnings
Setup l2str to read l2_name
check if the georegion has been supplied and check if it exists and can be opened.


