×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    20

    Smile reverse geocoding prior to storage

    Hi,
    I'm not sure how to achieve this or if it can be done but I hope somebody can give me some pointers...
    I have a java me application that uses the location api to extract the device coordinates which are then sent for storage on a webserver database via php extracting the coordinates from a query string.
    Ideally I would like to also store the corresponding address . Anyyone got any recommendations on how I can "easily" get the address by using the coordinates prior to storing on the webserver database?

    thanks....not expecting solutions but maybe some guidance

  2. #2
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: reverse geocoding prior to storage

    Quote Originally Posted by roryoflynn1@gmail.com View Post
    Hi,
    I'm not sure how to achieve this or if it can be done but I hope somebody can give me some pointers...
    I have a java me application that uses the location api to extract the device coordinates which are then sent for storage on a webserver database via php extracting the coordinates from a query string.
    Ideally I would like to also store the corresponding address . Anyyone got any recommendations on how I can "easily" get the address by using the coordinates prior to storing on the webserver database?

    thanks....not expecting solutions but maybe some guidance
    You can use various reverse geocoding services available on the net for this purpose, for example in US you can try: http://www.geonames.org/export/web-services.html
    http://ws.geonames.org/findNearbyPla...lat=47.3&lng=9

    Just make a HTTP call to this URL above with the lat/long you get from the device, fetch the available address info and send it to your php to store it along lat/long.
    Thanks,
    Ekta

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    20

    Re: reverse geocoding prior to storage

    thanks for the info Ekta, much appreciated :-)

  4. #4
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: reverse geocoding prior to storage

    out of performance considerations and User Experience I would only send the lat-long from your device (1 http call) to the php server, then from the server reverse geocode the coordinates to an adres and save both in it's database...
    This will save an extra http call from your midlet and also some waiting time and/or thread... To me it seems excessive to send first an http call to the geocoding serveice and then a http call to your php server to send coordinates + adres, unless obviously you need the address in your app as well...
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  5. #5
    Registered User
    Join Date
    Feb 2010
    Posts
    20

    Re: reverse geocoding prior to storage

    Hi Tiger79.... that's great, i had a hunch that may be the way to go (ie let the php server do the reverse geo coding and java me just get the coordinates) but it's great to get affirmation... much appreciated ..:-)

Similar Threads

  1. Reverse Geocoding in Java
    By harriskorn in forum Mobile Java General
    Replies: 6
    Last Post: 2011-02-27, 17:02
  2. How to sign builds prior to submission?
    By SteveMeL in forum [Closed] Publishing to Nokia Store
    Replies: 1
    Last Post: 2010-01-20, 19:46
  3. Reverse Geocoding with static maps on Symbian Phone
    By ryn004 in forum [Archived] Flash Lite on Nokia Devices
    Replies: 4
    Last Post: 2009-12-01, 15:58
  4. RConnectionMonitor for prior to FP2
    By nire123 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2008-11-06, 04:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×