So this is precisely what I dont know, whether a road runs right past my gate etc. if i "look" at the map visually, I can clearly see if there is a road between my house and the road the vehicle had taken. the issue is, how to do this programatically? clearly Google maps has the data about all road around me, hence I imagined there may be a function call that can answer inclusion of a point on a path.
On Mar 18, 10:23 pm, Andrew Leach <[email protected]> wrote: > On Mar 18, 11:02 am, amarsh <[email protected]> wrote: > > > > > Also, you may say that I can simply calculate the distance of P from > > each point in the Path. Suppose it turns out that the point closet to > > P in the Path is 300m away. Now, without looking at any map, how can I > > tell if there is no other road between P and the Path? > > Do you need to do that? Surely if the road runs right past your gate > (point P) then the distance you need to measure is 5m at the most. If > the car has passed within 5m it's run past the gate; if it's 300m away > it isn't anywhere near the gate. -- 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.
