Calculate distance between two points using Latitude and Longitude

%3CLINGO-SUB%20id%3D%22lingo-sub-240844%22%20slang%3D%22en-US%22%3ECalculate%20distance%20between%20two%20points%20using%20Latitude%20and%20Longitude%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-240844%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20OMS%20how%20can%20we%20calculate%20distance%20between%20two%20pints%20using%20Latitude%20and%20Longitude%20value%20that%20we%20are%20getting%20in%20heartbeat%20metrics.%20For%20instance%20we%20are%20getting%20data%20from%20two%20different%20devices%20at%20two%20different%20geographical%20location%2C%20we%20are%20getting%20latitude%20and%20longitude%20value%20for%20those%20devices.%20How%20can%20we%20also%20calculate%20distance%20between%20two%20devices%20using%20these%20value%20and%20do%20we%20have%20any%20geospatical%20functions%20in%20OMS%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-240844%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-241082%22%20slang%3D%22en-US%22%3ERe%3A%20Calculate%20distance%20between%20two%20points%20using%20Latitude%20and%20Longitude%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-241082%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20not%20aware%20of%20any%20geospatial%20functions%2C%20however%20you%20should%20be%20able%20to%20calculate%20it%20using%20the%20method%20here.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsciencing.com%2Fcalculate-distance-between-latitude-lines-6217130.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsciencing.com%2Fcalculate-distance-between-latitude-lines-6217130.html%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Deleted
Not applicable

In OMS how can we calculate distance between two pints using Latitude and Longitude value that we are getting in heartbeat metrics. For instance we are getting data from two different devices at two different geographical location, we are getting latitude and longitude value for those devices. How can we also calculate distance between two devices using these value and do we have any geospatical functions in OMS

1 Reply

I am not aware of any geospatial functions, however you should be able to calculate it using the method here. https://sciencing.com/calculate-distance-between-latitude-lines-6217130.html