'How to search query radius with limit and pagination in GeoHash, DynamoDB

I'm using query radius method for search by radius.

Here is python implementation.

geoDataManager.queryRadius(
        dynamodbgeo.QueryRadiusRequest(
            dynamodbgeo.GeoPoint(lat, lon), radius, sort = True
        )
    )

Now i want add pagination and get total count. How to implement it?



Solution 1:[1]

There are limitations with the dynamodb-geo library. Although low level DynamoDB Query requests return paginated results, this library automatically pages through the entire result set.

Reference: https://pypi.org/project/dynamodbgeo/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Loya Altangerel