DEV Community

Cover image for DynamoDB geospatial data in python
Rhibi Hamza
Rhibi Hamza

Posted on

DynamoDB geospatial data in python

Did you ever wondered how to find the closest data points to a given latitude and longitude pair in DynamoDB without having to scan the full table?

In 2013, DynamoDB service team provided dynamodb-geo Java library that allow customers to insert and query the Geo spatial data efficiently. But since then no official support to that library was provided even with the numerous updates that happened in DynamoDB since then.

Recently, as a Cloud Support Engineer at AWS I noticed that various customer showed interest in re-inventing that library in python or integrating it in boto3. For that, I gave it a try and build a python unofficial port of dynamodb-geo. You can check it out here : https://github.com/Sigm0oid/dynamodb-geo.py.

Please let me know if any question raises or if you have any suggestions.

Have an AWSome day!

Top comments (0)