Results of BoundingBoxSearch and ProximitySearch are excluding same locations

45 views
Skip to first unread message

thivi he

unread,
Mar 7, 2016, 11:21:27 PM3/7/16
to javageomodel-discuss
I have 10 duplicates of one location stored in db

My BBoxSearch for the db returns only one result by excluding other 9 entries.

This function excluding duplicate locations in results.

How can we get results including duplicates?

thivi he

unread,
Mar 13, 2016, 4:34:07 PM3/13/16
to javageomodel-discuss
Mongodb is best choice for this Geo spatial kind of operations using the same technique geohashing. But it is not supported for AppEngine. better go for Google Compute Engine. Create a Mongodb cluster. It is efficient way than using appengine both in terms of money, performance and development time.

I tried very hard to implement cost effective solution with optimized performance for my App backend on AppEngine. But it is not possible with it. I find It is good for static web pages and applications which don't include much data processing and analysis.

If you stick to geo model and app engine... get ready for the surprise of billing. Datastore indexing would explode because geomodel creates a ListProperty of geohashes and index it, with this  if you want to include tags (ListProperty) for an entity. its indexing will burst. it includes huge writes for updating/crating an entity.

Save your time with my experience for Geo based applications.

Luca Menichetti

unread,
Mar 14, 2016, 1:14:15 PM3/14/16
to javageomodel-discuss
I don't understand your issue, but I've implemented the boxsearch with the app engine datastore without any problem, storing an array with the geohash ("ABCDEF": ["A","AB","ABC","ABCD",...]).
To retrieve results with the boxsearch parameters I was using a IN query over the geohashes array.

Bye!

thivi he

unread,
Apr 11, 2016, 4:50:00 AM4/11/16
to javageomodel-discuss
try to store two same geo locations and query for the results...?? u will get only one results for within bounding box query.... I implemented in pygeomodel
Reply all
Reply to author
Forward
0 new messages