• Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling Google Reverse Geocoding Address Lookup

 
Mat Anthony
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • 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'>
 
Tim Holloway
Bartender
Posts: 18412
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!