-2

I am looking for code to find the nearest location.

Currently storing - latitude and longitude in the entity (ie address). when user search it, want to display the result with 2km radius.

User entity:

private double latitude;
private double longitude;
halfer
  • 19,824
  • 17
  • 99
  • 186
My Talk
  • 19
  • 2

1 Answers1

0

Geospatial queries are not supported at this moment.

There used to be some documentation, but seems to be deleted from AppEngine docs.

You may want to take a look into geohash library.

Pythonist
  • 677
  • 5
  • 28