The best approach is to delegate the task to the client using
javascript and a geolocation service provided my google maps API as
Niklasrol above suggests, it is free for non-commercial use and the
most acurate method.
For an example you can take a look at my app  
http://www.geognos.com/geo/en/cc/us.html
and select move map > my place from the drop box on top right for an
explanation take a look at page source and javascript.

If you have to do it in the server you can use an API like maxminds as
Ulrich above is suggesting or you can build your own service on app
engine.
For an example of the later see  
http://milon.appspot.com/stravon/db/cc/83.212.217.149
and may be you read my remarks on this here in the following thread
http://groups.google.com/group/google-appengine/browse_thread/thread/2e31c17842eba834/ddc371f9f6ff6e91?q=#ddc371f9f6ff6e91

Happy coding ;)


On Mar 25, 7:00 pm, Ulrich <[email protected]> wrote:
> Benjamin wrote:
> > Does anyone know a good way to get an approximate GPS coordinate
> > (Latitude and Longitude) when you have a users IP Address?
>
> > When my users post to a web service i'm pretty sure i know their IP.
> > I'd like to get the Latitude and Longitude of the client based on that
> > like GEO IP does but from my system running on app engine.
>
> Something likehttp://www.maxmind.com/app/ip-locationcould help you. I
> would download the database and load it into the datastore.
>
> -Ulrich

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to