IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Co-ordinates data

    Posted 11/29/12 11:16 PM

    Hi,

    I have looked at the “NativeUILocationDemo”. The co-ordinates are obtained as Degree, Min , Time. Ex : 104, 6 , 35.0

    Any way to get this in a decimal format ? Ex : 104.109740

    Thanks and Regards,
    Sandeep


    #mobile
    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 2.  RE: Co-ordinates data

    Posted 11/30/12 06:21 AM

    Hi Sandeep,

    If you look in the LocationHandler class, the createLocationString() method converts the decimal values for the longitude and latitude into the "degrees, minutes, seconds" format. You should be able to skip the conversion part and take the double values from c.getLongitude() and c.getLatitude() directly. :slight_smile:

    Regards,

    Mark.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General
    #mobile


  • 3.  RE: Co-ordinates data