SAP ABAP Class CL_GEOCALC (Geo coordinate calculation functions)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-GEO (Application Component) Geographical Functions
     SZGL (Package) R/3 Central Basis Development: Geo Locations
Properties
Class CL_GEOCALC  
Short Description Geo coordinate calculation functions    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SZGL   R/3 Central Basis Development: Geo Locations 
Created 19990414   SAP 
Last change 19990426   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GEOCALC has no forward declaration.
Interfaces
Class CL_GEOCALC has no interface implemented.
Friends
Class CL_GEOCALC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_180 Constant Protected Type reference (TYPE) F '180.0' 180.0 19990426
2 C_DEG_RAD Constant Protected Type reference (TYPE) F '0.01745329251994329555556' Degree->Radian conversion factor 19990426
3 C_PI Constant Protected Type reference (TYPE) F '3.1415926535897932' PI 19990426
4 C_RADIUS Constant Protected Type reference (TYPE) F '6378137.0' Radius of the Earth 19990426
5 C_TWO Constant Protected Type reference (TYPE) F '2.0' Constant value 2.0 19990426
Methods
# Method Level Visibility Method type Description Created on
1 CONVSTABL_LAT_DEGDEC2DEGMINSEC Static method Public Method Stable conv longtud wit dec.place->deg,min,sec,comp.bearing 20000407
2 CONVSTABL_LAT_DEGMINSEC2DEGDEC Static method Public Method Stable conv deg,min,sec,comp.bearing->longtud wit dec.place 20000407
3 CONVSTABL_LON_DEGDEC2DEGMINSEC Static method Public Method Stable conv longtud wit dec.place->deg,min,sec,comp.bearing 20000407
4 CONVSTABL_LON_DEGMINSEC2DEGDEC Static method Public Method Stable conv deg,min,sec,comp.bearing->longtud wit dec.place 20000407
5 CONV_LAT_DEGDEC2DEGMINSEC Static method Protected Method Stable conv longtud wit dec.place->deg,min,sec,comp.bearing 20000407
6 CONV_LAT_DEGMINSEC2DEGDEC Static method Protected Method Stable conv deg,min,sec,comp.bearing->longtud wit dec.place 20000407
7 CONV_LON_DEGDEC2DEGMINSEC Static method Protected Method Stable conv longtud wit dec.place->deg,min,sec,comp.bearing 20000407
8 CONV_LON_DEGMINSEC2DEGDEC Static method Protected Method Stable conv deg,min,sec,comp.bearing->longtud wit dec.place 20000407
9 DISTANCE Static method Public Method Calculates the distance between two CL_GeoLoc in [m] 19990414
10 DISTANCE_BY_LONLAT Static method Public Method Calculates the distance between two Geo locations in [m] 19991014
11 SHIFT_GEOLOC Static method Public Method Moves a Geo location 19990416
12 _DISTANCE Static method Protected Method Internal distance calculation (Earth = sphere) 19990426
Events
Class CL_GEOCALC has no event.
Types
Class CL_GEOCALC has no local type.
Method Signatures

Method CONVSTABL_LAT_DEGDEC2DEGMINSEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing LATITUDE Call by reference Type reference (TYPE) GEOLAT Breitengrad der Geo-Location 20000407
2 Exporting LATITUDE_DEGMINSEC Call by reference Type reference (TYPE) GEOLATDISP Anzeigefeld für Ein/Ausgabe des Breitengrades 20000407

Method CONVSTABL_LAT_DEGDEC2DEGMINSEC on class CL_GEOCALC has no exception.

Method CONVSTABL_LAT_DEGMINSEC2DEGDEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting LATITUDE Call by reference Type reference (TYPE) GEOLAT Breitengrad der Geo-Location 20000407
2 Changing LATITUDE_DEGMINSEC Call by reference Type reference (TYPE) GEOLATDISP Anzeigefeld für Ein/Ausgabe des Breitengrades 20000407

Method CONVSTABL_LAT_DEGMINSEC2DEGDEC on class CL_GEOCALC has no exception.

Method CONVSTABL_LON_DEGDEC2DEGMINSEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing LONGITUDE Call by reference Type reference (TYPE) GEOLON Längengrad der Geo-Location 20000407
2 Exporting LONGITUDE_DEGMINSEC Call by reference Type reference (TYPE) GEOLONDISP Anzeigefeld für Ein/Ausgabe des Längengrades 20000407

Method CONVSTABL_LON_DEGDEC2DEGMINSEC on class CL_GEOCALC has no exception.

Method CONVSTABL_LON_DEGMINSEC2DEGDEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting LONGITUDE Call by reference Type reference (TYPE) GEOLON Längengrad der Geo-Location 20000407
2 Changing LONGITUDE_DEGMINSEC Call by reference Type reference (TYPE) GEOLONDISP Anzeigefeld für Ein/Ausgabe des Längengrades 20000407

Method CONVSTABL_LON_DEGMINSEC2DEGDEC on class CL_GEOCALC has no exception.

Method CONV_LAT_DEGDEC2DEGMINSEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LATITUDE Call by reference Type reference (TYPE) GEOLAT Breitengrad der Geo-Location 20000407
2 Exporting LATITUDE_DEGMINSEC Call by reference Type reference (TYPE) GEOLATDISP Anzeigefeld für Ein/Ausgabe des Breitengrades 20000407

Method CONV_LAT_DEGDEC2DEGMINSEC on class CL_GEOCALC has no exception.

Method CONV_LAT_DEGMINSEC2DEGDEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting LATITUDE Call by reference Type reference (TYPE) GEOLAT Breitengrad der Geo-Location 20000407
2 Importing LATITUDE_DEGMINSEC Call by reference Type reference (TYPE) GEOLATDISP Anzeigefeld für Ein/Ausgabe des Breitengrades 20000407

Method CONV_LAT_DEGMINSEC2DEGDEC on class CL_GEOCALC has no exception.

Method CONV_LON_DEGDEC2DEGMINSEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LONGITUDE Call by reference Type reference (TYPE) GEOLON Längengrad der Geo-Location 20000407
2 Exporting LONGITUDE_DEGMINSEC Call by reference Type reference (TYPE) GEOLONDISP Anzeigefeld für Ein/Ausgabe des Längengrades 20000407

Method CONV_LON_DEGDEC2DEGMINSEC on class CL_GEOCALC has no exception.

Method CONV_LON_DEGMINSEC2DEGDEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting LONGITUDE Call by reference Type reference (TYPE) GEOLON Längengrad der Geo-Location 20000407
2 Importing LONGITUDE_DEGMINSEC Call by reference Type reference (TYPE) GEOLONDISP Anzeigefeld für Ein/Ausgabe des Längengrades 20000407

Method CONV_LON_DEGMINSEC2DEGDEC on class CL_GEOCALC has no exception.

Method DISTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing C_GEOLOC1 Call by reference Object reference (TYPE REF TO) CL_GEOLOC Geo-Location 1 19990414
2 Importing C_GEOLOC2 Call by reference Object reference (TYPE REF TO) CL_GEOLOC Geo-Location 2 19990414
3 Exporting DISTANCE Call by reference Type reference (TYPE) F Entfernung in [m] 19990414

Method DISTANCE on class CL_GEOCALC has no exception.

Method DISTANCE_BY_LONLAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DISTANCE Call by reference Type reference (TYPE) F Entfernung in Metern 19991014
2 Importing LATITUDE1 Call by reference Type reference (TYPE) GEOLAT Breitengrad erste Lokation 19991014
3 Importing LATITUDE2 Call by reference Type reference (TYPE) GEOLAT Breitengrad zweite Lokation 19991014
4 Importing LONGITUDE1 Call by reference Type reference (TYPE) GEOLON Längengrad erste Lokation 19991014
5 Importing LONGITUDE2 Call by reference Type reference (TYPE) GEOLON Längengrad zweite Lokation 19991014

Method DISTANCE_BY_LONLAT on class CL_GEOCALC has no exception.

Method SHIFT_GEOLOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing C_GEOLOC Call by reference Object reference (TYPE REF TO) CL_GEOLOC Zu verschiebende Geo-Location 19990416
2 Importing LATSHIFT Call by reference Type reference (TYPE) GEODIST Verschiebung entlang der Breitengrade in [m] 19990416
3 Importing LONSHIFT Call by reference Type reference (TYPE) GEODIST Verschiebung enlang der Längengrade in [m] 19990416

Method SHIFT_GEOLOC on class CL_GEOCALC has no exception.

Method _DISTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DISTANCE Call by reference Type reference (TYPE) F Entfernung in [m] 19990426
2 Importing LATRAD1 Call by reference Type reference (TYPE) F Breitengrad in rad, Location 1 19990426
3 Importing LATRAD2 Call by reference Type reference (TYPE) F Breitengrad in rad, Location 2 19990426
4 Importing LONRAD1 Call by reference Type reference (TYPE) F Längengrad in rad, Location 1 19990426
5 Importing LONRAD2 Call by reference Type reference (TYPE) F Längengrad in rad, Location 2 19990426

Method _DISTANCE on class CL_GEOCALC has no exception.
History
Last changed by/on SAP  19990426 
SAP Release Created in