Wednesday, December 2, 2009

Re: Is there any way to learn if a latlong is within a pedestrian zone or if it is accessible by car?

On Dec 2, 2:24 pm, sunil <sunilpanch...@gmail.com> wrote:

> Is there any way to learn if a latlong is within a pedestrian zone or
> if it is accessible by car? I'm trying with geocoding or reverse
> geocoding but can't get the hoped result in that way.

If you're concerned about getting there by car, then GDirections would
seem to be a good thing to use. If you can get directions from a point
to your latlng, then it's accessible by car; otherwise it isn't.

Caution: directions may appear to succeed if the end point is close to
your test location (ie, the drivable route gets close enough). You
will need to test that the end point of the directions is actually
where you want to get to: if it is, you can drive there; if it isn't,
you can't. There may be additional complications if your test location
is slightly off a road -- you may need to have a tolerance.

Andrew

--

You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate