That is not trival, but it can be done. Perhaps theis will help
http://code.google.com/p/geomodel/

Basically you break the earth up into cells. If you want to do a km
radius search, you limit to the cells you want, and then do an in
memory filter on the result.

On Sep 14, 2:07 pm, mar_novice <[email protected]> wrote:
> Im new to geopt datatype and my question is how can i query the
> entities that is with-in 2km distance from a given entity. For
> example, I have a building name BigBuilding with a geopt X and in my
> datastore, I already have many buildings with a geopt in its field.
> How can i determine the buildings that is with-in the 2km radius of
> BigBuilding. Anyone can provide some tips and suggestions on how to
> implement this??
>
> Thanks in advance.
>
> -mar_novice
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to