Convert Signed Seconds to Decimal Degrees
Classic iSeries integration requires that latitude and longitude be represented in signed seconds. This takes the form of a positive or negative integer representing a whole number of seconds latitude or longitude. The Portal Toolkit requires that the format be in decimal degrees: a positive or negative 17-packed-decimal value with 14 places of precision, representing a number of degrees latitude or longitude.
This API permits conversion from one format to the other.
QTCSSDD Parameter Interface:
Direction
|
DataType
|
Length
|
Precision
|
Description
|
---|---|---|---|---|
Input |
Packed Decimal |
7 |
0 |
Latitude in signed seconds |
Output |
Packed Decimal |
17 |
14 |
Latitude in signed decimal degrees |
Input |
Packed Decimal |
7 |
0 |
Longitude in signed seconds |
Output |
Packed Decimal |
17 |
14 |
Longitude in signed decimal degrees |