I think you'd need some serious AI to work out which bits of the direction text are the street names, and there's no suburb or country information.
What you could do is take a point from the middle of each step and reverse geocode it and obtain the ThoroughfareName from the Placemark with the highest Accuracy. Even then you need some reasonably smart code to handle differences between things like "Anchorsholme Lane East" and "Anchorsholme Ln E", unless you've made sure that the streets in your database are spelled exactly the same as they are in the Google database. Country matching is straightforward, the reverse geocoder uses ISO standard country codes (not Internet country codes, so the UK and non-UK parts of Great Britain appear as "GB"). "Suburb" is rather more problematical, since not all locations have such a concept. YOu may need to look at AdministrativeAreaName, LocalityName or SubAdministrativeAreaName. An alternative strategy is to scan the .getPolyline() and send a long list of lat/lng pairs to your database server. Perhaps sending the coordinates for points every 50 metres along the route and searching your database for stores that are within 75 metres of one of those points. -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
