• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

Calling Google Reverse Geocoding Address Lookup

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I'm trying to integrate google reverse geocoding address into my jsf application.
I would like to be able to enter a postcode and hit a 'Find Address' button to bring me back
all the addresses within that location. I have attempted the script below just to get something working
in html then build a jsf2 page up. The results that I keep getting back are for a specific building rather
than a list of houses within the same street. I think this is because I'm using the lat/long.



Mat'>
 
Bartender
Posts: 29139
215
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wouldn't be surprised. It's not a trivial task to find all the addresses along a section of street, especially if your street bends like a hockey puck (mine does) and changes names slightly (also). Or your latitude/longitude selects a point near where multiple streets intersect.

Probably the first thing I'd do is look for an option to expand the lookup from a point to a small area (square, or whatever) and gather all the addresses and see if you can go from there.
reply
    Bookmark Topic Watch Topic
  • New Topic