SAP ABAP Class CL_GIS_GEOCOD_CAL (a variety of calculations for latitude/longitude points)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-EPT-GIS (Application Component) Geographical Information System
⤷
BS_GIS_CORE (Package) GIS: Package for Services
⤷
⤷
Properties
| Class | CL_GIS_GEOCOD_CAL | |
| Short Description | a variety of calculations for latitude/longitude points | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | BS_GIS_CORE | GIS: Package for Services |
| Created | 20100817 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_GIS_GEOCOD_CAL has no forward declaration.
Interfaces
Class CL_GIS_GEOCOD_CAL has no interface implemented.
Friends
Class CL_GIS_GEOCOD_CAL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | F | '3.14159265' | 20100817 | |||
| 2 | Constant | Public | Type reference (TYPE) | F | '6.28318531' | 20100823 | |||
| 3 | Constant | Public | Type reference (TYPE) | F | '9.42477796' | 20100823 | |||
| 4 | Constant | Public | Type reference (TYPE) | F | '6371.009' | 20100817 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Calculate arctangent | 20100818 | |
| 2 | Static method | Public | Method | Convert Degrees to Radians | 20100817 | |
| 3 | Static method | Public | Method | Convert Decimeters to Kilometers | 20100927 | |
| 4 | Static method | Public | Method | Convert Feet /Foot to Kilometers | 20100927 | |
| 5 | Static method | Public | Method | Convert Kilometers to Miles | 20100927 | |
| 6 | Static method | Public | Method | Convert Miles to Kilometers | 20100927 | |
| 7 | Static method | Public | Method | Convert Meters to Kilometers | 20100927 | |
| 8 | Static method | Public | Method | Convert Radians to Degrees | 20100817 | |
| 9 | Static method | Public | Method | Convert Radians to Degrees Output in Float | 20100921 | |
| 10 | Static method | Public | Method | Convert Yards to Kilometers | 20100927 | |
| 11 | Static method | Public | Method | Calculate bearing | 20100818 | |
| 12 | Static method | Public | Method | Calculate the distance between two points . | 20100923 | |
| 13 | Static method | Public | Method | Calculate destination co-ordinates | 20100818 | |
| 14 | Static method | Public | Method | Calculate the location of a point between two known points . | 20100921 | |
| 15 | Static method | Public | Method | Calculate distance using spherical law of cosines | 20100818 |
Events
Class CL_GIS_GEOCOD_CAL has no event.
Types
Class CL_GIS_GEOCOD_CAL has no local type.
Method Signatures
Method ATAN2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20100930 | |||
| 2 | EV_ATAN2 | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 3 | IV_X | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 4 | IV_Y | Call by reference | Type reference (TYPE) | F | 20100818 |
Method ATAN2 on class CL_GIS_GEOCOD_CAL has no exception.
Method CONVERT_DEG_TO_RAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 2 | IV_DEG | Call by reference | Type reference (TYPE) | DEG | Geo location longitude | 20100818 |
Method CONVERT_DEG_TO_RAD on class CL_GIS_GEOCOD_CAL has no exception.
Method CONVERT_DM_TO_KM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_KM | Call by reference | Type reference (TYPE) | F | 20100927 | ||||
| 2 | IV_DM | Call by reference | Type reference (TYPE) | F | 20100927 |
Method CONVERT_DM_TO_KM on class CL_GIS_GEOCOD_CAL has no exception.
Method CONVERT_FT_TO_KM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_KM | Call by reference | Type reference (TYPE) | F | 20100927 | ||||
| 2 | IV_FT | Call by reference | Type reference (TYPE) | F | 20100927 |
Method CONVERT_FT_TO_KM on class CL_GIS_GEOCOD_CAL has no exception.
Method CONVERT_KM_TO_MI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MILES | Call by reference | Type reference (TYPE) | F | 20100927 | ||||
| 2 | IV_KM | Call by reference | Type reference (TYPE) | F | 20100927 |
Method CONVERT_KM_TO_MI on class CL_GIS_GEOCOD_CAL has no exception.
Method CONVERT_MI_TO_KM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_KM | Call by reference | Type reference (TYPE) | F | 20100927 | ||||
| 2 | IV_MI | Call by reference | Type reference (TYPE) | F | 20100927 |
Method CONVERT_MI_TO_KM on class CL_GIS_GEOCOD_CAL has no exception.
Method CONVERT_M_TO_KM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_KM | Call by reference | Type reference (TYPE) | F | 20100927 | ||||
| 2 | IV_M | Call by reference | Type reference (TYPE) | F | 20100927 |
Method CONVERT_M_TO_KM on class CL_GIS_GEOCOD_CAL has no exception.
Method CONVERT_RAD_TO_DEG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DEG | Call by reference | Type reference (TYPE) | DEG | Geo location longitude | 20100818 | |||
| 2 | IV_RAD | Call by reference | Type reference (TYPE) | F | Geo location longitude | 20100818 |
Method CONVERT_RAD_TO_DEG on class CL_GIS_GEOCOD_CAL has no exception.
Method CONVERT_RAD_TO_DEG_FLOAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DEG | Call by reference | Type reference (TYPE) | F | Geo location longitude | 20100921 | |||
| 2 | IV_RAD | Call by reference | Type reference (TYPE) | F | Geo location longitude | 20100921 |
Method CONVERT_RAD_TO_DEG_FLOAT on class CL_GIS_GEOCOD_CAL has no exception.
Method CONVERT_YD_TO_KM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_KM | Call by reference | Type reference (TYPE) | F | 20100927 | ||||
| 2 | IV_YD | Call by reference | Type reference (TYPE) | F | 20100927 |
Method CONVERT_YD_TO_KM on class CL_GIS_GEOCOD_CAL has no exception.
Method GET_BRNG_GIVN_LAT_LON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BRNG_DEG | Call by reference | Type reference (TYPE) | BRNG | Geo location latitude | 20100818 | |||
| 2 | EV_BRNG_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 3 | IV_LAT1_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 4 | IV_LAT2_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 5 | IV_LON1_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 6 | IV_LON2_RAD | Call by reference | Type reference (TYPE) | F | 20100818 |
Method GET_BRNG_GIVN_LAT_LON on class CL_GIS_GEOCOD_CAL has no exception.
Method GET_DIS_BW_TWO_POINTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DIS_TOTAL | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100923 | ||||
| 2 | IV_LAT_BEG | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100923 | ||||
| 3 | IV_LAT_END | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100923 | ||||
| 4 | IV_LON_BEG | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100923 | ||||
| 5 | IV_LON_END | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100923 |
Method GET_DIS_BW_TWO_POINTS on class CL_GIS_GEOCOD_CAL has no exception.
Method GET_DIS_GIVN_BRNG_LAT_LON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LAT1_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 2 | EV_LON1_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 3 | IV_BRNG_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 4 | IV_DIS | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 5 | IV_LAT1_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 6 | IV_LON1_RAD | Call by reference | Type reference (TYPE) | F | 20100818 |
Method GET_DIS_GIVN_BRNG_LAT_LON on class CL_GIS_GEOCOD_CAL has no exception.
Method GET_DIS_INTERNAL_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LAT_POINT | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100921 | ||||
| 2 | EV_LON_POINT | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100921 | ||||
| 3 | IV_DIS_ERP | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100921 | ||||
| 4 | IV_DIS_TOTAL | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100921 | ||||
| 5 | IV_LAT_BEG | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100921 | ||||
| 6 | IV_LAT_END | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100921 | ||||
| 7 | IV_LON_BEG | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100921 | ||||
| 8 | IV_LON_END | Call by reference | Type reference (TYPE) | DECFLOAT34 | 20100921 |
Method GET_DIS_INTERNAL_FORMULA on class CL_GIS_GEOCOD_CAL has no exception.
Method GET_DIS_SPH_LAW_OF_COSINES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DIS | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 2 | IV_LAT1_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 3 | IV_LAT2_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 4 | IV_LON1_RAD | Call by reference | Type reference (TYPE) | F | 20100818 | ||||
| 5 | IV_LON2_RAD | Call by reference | Type reference (TYPE) | F | 20100818 |
Method GET_DIS_SPH_LAW_OF_COSINES on class CL_GIS_GEOCOD_CAL has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 703 |