On Aug 12, 8:34 pm, Henryk Sarat <[email protected]> wrote:
> have an interesting problem where I want to see if a pair of
> Latitude/Longitude points are within the region of 4 other specified ones.
> An application of this is specifying 4 intersections and seeing if the
> address is within that region. With the Google Maps Geocoding API
> (http://code.google.com/apis/maps/documentation/geocoding/) it's easy to
> convert the intersections into the long/lat and if the area is a perfect
> rectangle it's easy.... but what if the street is curvey? Does something
> like this already exist?

You could possibly use the directions service to get the polylines for
the roads, use those polylines to create a polygon (or not), then do
point in polygon analysis to see if the address is inside that
polygon.

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to