webmaven
webmaven

Reputation: 73

What are the current options for storing, indexing, and querying geospatial data on Google App Engine?

I've been 'away' from the GAE platform and community for a while, and recent new features look rather compelling, but I haven't been able to figure out what to do about geodata on GAE-Python. There are several open source libraries available:

  1. geomodel
  2. geodatastore
  3. mutiny

...but they aren't being actively maintained and haven't been updated in quite a while, so I am left with several questions:

Do any of these libraries work with NDB? Is there something else I should try to use? What is the current best practice for geodata on GAE?

BTW, for my own project, I don't need to store anything other than points, and the sort of queries I need to make (at least initially) are 'X closest results to location Y' and 'all points within 1 mile of location Y'.

UPDATED: Based on comments, it looks like geomodel has been patched to work with NDB, and it seems that the new experimental Search API allows for the kinds of searches I need. However, that leads to a new Q: Will the Search API simply obsolete geomodel and similar libraries, or will they still have a use?

Upvotes: 3

Views: 913

Answers (1)

Amy U.
Amy U.

Reputation: 2237

To amplify one of the comments above -- the Search API now supports Geosearch.
It can retrieve results within a given radius and sort them by distance, so it should work well for what you want to do.

Upvotes: 3

Related Questions