On Mar 28, 12:19 pm, stu <[email protected]> wrote: > I do wonder though whether its fair to expect that street names that > we might enter will match identically with googles geocoded street > names, and would also need to deal with identical street names.
Think logically! :) Suppose you're looking for "Walton street" in Chicago. Go to maps.google.com and enter "Walton st" in the search field and see what options you get. Out of those options, if your route is in Chicago, and it contains the word "Walton" in one of the steps, (never mind "St" or "street"), then that's unlikely to refer to "Walton St, Pensacola, Escambia, FL", and it is probably "Walton St, Proviso, Cook, IL", so that's your street! -- Marcelo - http://maps.forum.nu -- > Another complexity is that we are actually interested in when a > jounrey enters a zone of high traffic, and such zones may well not be > the full streets (although they also won't just be easy circular or > polygonal zones either). > But when I get time this is certainly worth experimenting with to see > how well it will work. > > Out of interest - if appears that detection of polyline crossings is a > common requirement in GIS and I'm wondering if anyone is aware whether > this might be built into future API versions (or whether it is > something that the API should / cannot be expected to do)? > > thanks again, and any other thoughts on the problem are appreciated. > ...stu > > On Mar 27, 1:49 am, Rossko <[email protected]> wrote: > > > > > > I've been working with the API to draw journeys using various travel > > > modes as a series of snapped polylines on a map. > > > > I now need to try and detect when any part of a journey enters / > > > leaves one of several streets. > > > Snapped ... to what? Geocoded street address presumably, does this > > not conatin information you can work with? -- 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.
