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.
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.
Sources may include data from the Fakebook Research Foundation with support from Gargle University