Wasn't it [EMAIL PROTECTED] who wrote:
>
>On Nov 4, 11:19 am, jto <[EMAIL PROTECTED]> wrote:
>> Is it possible to map from a street name (e.g., "Pratt Street,
>> Baltimore, MD") to a polyline that spans the entire length of the
>> street?  Said differently, I'd like to get driving directions from one
>> terminus of the street to the other given just the name of the
>> street.  Based on what I've been able to gather, this may require
>> other resources, such as the TIGER/Lines data for US streets.
>>
>
>If it is just a few streets, you can do it manually.  However Pratt
>Street, Baltimore, MD seems like a bad example.  There are 2 different
>Pratt Streets (E. Pratt St & W. Pratt St)
>http://www.geocodezip.com/example_geo2.asp?addr1=Pratt%20Street,%20Balti
>more%20MD&geocode=1

You could guess the range of property numbers on the street. Do a binary 
chop, geocoding various numbers on the street looking for the lowest and 
highest numbers for which the geocode returns the property number. In 
the case of E Pratt St, Baltimore, that's 2900 to 4398.

As it happens, 2900 is 23ft short of the end of the street, because the 
property on the corner is "147 S Linwood Ave". That sort of effect will 
probably be quite common.

Also, you need to switch walking directions on, because E. Pratt St. has 
two one-way sections which prevent you driving from end to end in either 
direction. Remember that if you switch walking directions on, you must 
display the textual results panel so that Google can display the 
warning.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to