How to find distance between already saved lat and long and user current lat long in dynamodb aws?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


How to find distance between already saved lat and long and user current lat long in dynamodb aws?



I already have table called location that contains lat and long of hotel and the details, i need query to find the distance between user current location and already saved hotel lat long if less than 25kms show result in dynamoDb,



Am new to dynamoDb already i done this with mysql find distance and having used to make that 25kms condition,



Thanks in advance. i struggling with this 2 days.




1 Answer
1



No such function exists in DynamoDB. You would need to do the math to calculate the distance between the 2 coordinates yourself






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived