Balan
Balan
ATApache TinkerPop
Created by Balan on 8/23/2024 in #questions
How can we extract values only
by( math('(sin((Latitude * rdeg - userLat * rdeg)/2))^2 + cos(Latitude * rdeg) * cos(userLat * rdeg) * (sin((Longitude * rdeg - userLon * rdeg)/2))^2'). math('gcmiles * (2 * asin(sqrt(_)))')
8 replies
ATApache TinkerPop
Created by Balan on 8/23/2024 in #questions
How can we extract values only
@ColeGreer trying to calculate distance in germlin query itself by using the haversine formula.
8 replies
ATApache TinkerPop
Created by Balan on 8/23/2024 in #questions
How can we extract values only
@Kennh Am trying to calculate distance between two latitudes and longitudes by using haversine formula inside the germlin query. One lat and long will get from User and another lat and long need to retrieve from the above . when i try to retrieve it gives like the above @type and @value . But i need only values for latitude and longitude.
8 replies