Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7819721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:03:34+00:00 2026-06-02T07:03:34+00:00

I am doing a website about places to visit using java, gwt, gae, gwt-platform

  • 0

I am doing a website about places to visit using java, gwt, gae, gwt-platform and objectify for the datastore and GWT maps V3 [github.com/twistedpair/GWT-Maps-V3-Api]. (I don’t know if is the best solution but for now im advancing, slowly but ok :))

Question:
What you think can be the best approach to store latitude and longitude of a place being able later to search places near it?

I was trying the approach to save the longitude and latitude into strings using lexicographical order using
http://code.google.com/p/sappenin/source/browse/trunk/SappeninUtils/src/main/java/com/sappenin/util/BigDecimalStringCodec.java?r=146
But I didn’t achieve to get it working and as I understand, I would have to query first by latitude and then by longitude and I think it wont be practical at all.

I don’t know if is better to use GeoPt in my entities or only the values latitude and longitude as two strings or long (as bigdecimal is not supported). I think will be more or less the same because internally GeoPt is the same, two numbers.

I think the best approach will be geomodel but is in python then I started to check http://code.google.com/p/javageomodel/
But I couldn’t manage, the problem is that geomodel is not for objectify. I found an approach of javageomodel for objectify but seems quite old.
[github.com/bfuster/javageomodel]
I would try to take the original javageomodel and try to modify it but I wanted to know if someone knows a better way to do this.

Which option you recommend? Maybe there is a very easy way to do it now in 2012 but I couldn’t find it and I’m rounding around one week through Google.

Thank you in advance for your opinion!

I hope the question is more or less clear because as you can see, I have a huge mess in my mind right now, 😉

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T07:03:35+00:00Added an answer on June 2, 2026 at 7:03 am

    You can find an example of how to use geohashing with GAE and Objectify here:

    https://github.com/stickfigure/motomapia

    The demo is here:

    http://www.motomapia.com/

    The geohash library is here:

    http://code.google.com/p/javageomodel/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently doing IE-hacks on a website I'm working on: http://www.timkjaerlange.com/wip/co2penhagen/ I got
i am doing a mobile version of a website using JQuery Mobile and JSON
I have read some posts on this website about using drawInRect instead of the
This should a quick question for some easy rep. I'm doing some PHP Website
I'm a bit lost, one of my developer co-worker is doing a drupal website,
doing a simple login for my website, which will hopefully keep the user logged
We are doing some performance tests on our website and we are getting the
I'm doing a custom 404 page for a large website that's undergoing a redesign.
I'm a doing some blackbox testing of a ASP.Net website and I need to
Our website runs the user's input via HtmlTidy to clean it. Apparently while doing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.