Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Let me see if I would be able to explain this correctly... Both Bing and Google Map geocoders can return you and a point given an address. Is there any way to retrieve an 'address range' instead i.e. to get returned a LINE rather than a point?

Its not necessarily address ranges I am after- the key word here is 'line' (along a road). Another example would be to get a road line given 2 points so I would want to get returned the road segment between these 2 points. I assume for this I would need to use the routing functions only?

Another scenario (i guess even more difficult) is given 1 point (along a road) to ask for the road segments for x Km 'up or down' this same road

Hope I am making sense...

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Using Google Maps API v3 Directions you can achieve this road segment length using waypoints.

http://code.google.com/apis/maps/documentation/javascript/examples/directions-waypoints.html

To work out line length http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/3a9f3b83b941a2d7/06792073b2529413?lnk=gst&q=polyline+length#06792073b2529413

share|improve this answer
    
thanks- i will give that a go! –  mapoholic Jul 7 '11 at 15:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.