Thanks for all the answers. I was reading allot about geoshashing, but
unfortunately the PubSchools demo uses a python implementation of
geohash and there is no such port for java. I found a class
http://code.google.com/p/javageomodel/source/browse/trunk/geocell/test/com/beoui/utils/HowToUseGeocell.java
that is the java version of Geohash, but it has limited functionality.
For an example, you can only search in square and not in circle like
the radius search I am talking about, but it is still a solution and I
have to manually create the square lat and long.

If someone has a better solution :)

On 3 Март, 18:07, Robert Kluin <robert.kl...@gmail.com> wrote:
> Nice I had seen the PubSchools demo app before, but I do not recall
> seeing that article.
>
> The "logic" behind most of these techniques is very similar, it is the
> implementation of that logic that distinguishes them.  Personally I
> would pick what ever is easiest for you to implement.
>
> Robert
>
> On Wed, Mar 3, 2010 at 6:58 AM, bFlood <bflood...@gmail.com> wrote:
> > and GeoModel:
> >http://code.google.com/apis/maps/articles/geospatial.html
>
> > On Mar 3, 4:53 am, Barry Hunter <barrybhun...@googlemail.com> wrote:
> >> Mutiny is a slightly refined of (and better version) than geohash
>
> >>http://appgallery.appspot.com/about_app?app_id=agphcHBnYWxsZXJ5chQLEg...
>
> >> Dont know how easy would be to port to java.
>
> >> On 3 March 2010 05:59, Robert Kluin <robert.kl...@gmail.com> wrote:
>
> >> > Have you looked into the "geohash" method?  It is not perfect but I think
> >> > there are a number of people using that technique.
>
> >> > Robert
>
> >> > On Mar 2, 2010, at 16:52, "vendor.net" <vendor....@gmail.com> wrote:
>
> >> >> I read many articles about geocaching and etc, but I still can`t find
> >> >> a way to do this:
>
> >> >> I have a DB:
> >> >> - id
> >> >> - latitude
> >> >> - longitude
>
> >> >> I have a latitude-x and longitud-y and I want to search my DB for
> >> >> records which are in 10 miles radius of the given latitude-x and
> >> >> longitud-y on Java.
>
> >> >> Thanks!
>
> >> >> --
> >> >> You received this message because you are subscribed to the Google 
> >> >> Groups
> >> >> "Google App Engine" group.
> >> >> To post to this group, send email to google-appeng...@googlegroups.com.
> >> >> To unsubscribe from this group, send email to
> >> >> google-appengine+unsubscr...@googlegroups.com.
> >> >> For more options, visit this group at
> >> >>http://groups.google.com/group/google-appengine?hl=en.
>
> >> > --
> >> > You received this message because you are subscribed to the Google Groups
> >> > "Google App Engine" group.
> >> > To post to this group, send email to google-appeng...@googlegroups.com.
> >> > To unsubscribe from this group, send email to
> >> > google-appengine+unsubscr...@googlegroups.com.
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to