Changes
Jump to navigation
Jump to search
Information Asymmetry Measures (view source)
Revision as of 11:24, 3 August 2012
, 11:24, 3 August 2012→Distance btw Acquirer and Target
We will build a quick XML API to access: https://developers.google.com/maps/documentation/distancematrix/
We can pass 2,500 requests 'elements' per IP address per day (24hrs) to this service, with a max of 100 elements per query and a max of 100 elements per 10 seconds. Note that URLs are restricted to 2048 characters, before URL encoding (particularly relevant if using multiple elements)and an element is an origin-destination pair. Returned data includes:*Road Distances (in meters/ft (?) in the value field, and km/miles/km in text)
*Driving Times (in seconds in the value field, and hours in text)
http://maps.googleapis.com/maps/api/distancematrix/xml?origins=Bobcaygeon+ON|41.43206,-81.38992&destinations=Darling+Harbour+NSW+Australia&mode=driving&units=metric&sensor=false
The sensible thing is probably to fire one element per query all targets (up - as there is no gain to some limit, say 25, depending on the length of address strings) for a single acquirer in one-shotdoing multiple elements.