Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: johnpelz**Nodes released into this community are prototypes. They have gone through a minimum set of tests; therefore, we cannot guarantee that they will work as designed nor are they supported by any existing maintenance contracts.**
This prototype graph provides a few examples of how to invoke Google Web Service APIs through the Lavastorm Analytics Engine, leveraging the HTTP and Tabular XML nodes. The Google Geocoding, Static Maps, and Distance Matrix APIs are used in this prototype.
REQUIREMENTS :
The attached BRG contains two library nodes :
- Google Static Map Image : this node will take a series of addresses and pass them into the Google Static Map API, resulting in a single static image with each of the addresses properly mapped.
- Google GeoCode Lookup : This node will take a series of addresses and perform a geocode lookup through Google's Gecode API.
- Google Distance Matrix: This node will take a two addresses & pass them to the Google Distance Matrix API to calculate & provides travel distance and time for a matrix of origins and destinations.
To download the graph, scroll to the bottom of the thread - enjoy!!
***Below you will find more information about each of the Google APIs being leveraged here:
Google Static Map API
https://developers.google.com/maps/d...aticmaps/index
25 000 free static map requests per application per day.
Static Map URLs are restricted to 2048 characters in size
Google Geocoding API
https://developers.google.com/maps/d...ion/geocoding/
Use of the Google Geocoding API is subject to a query limit of 2,500 geolocation requests per day. (User of Google Maps API for Business may perform up to 100,000 requests per day.)
Google Distance Matrix API
https://developers.google.com/maps/d...istancematrix/
The Distance Matrix API has the following limits in place: 100 elements per query, 100 elements per 10 seconds, 2 500 elements per 24 hour period.
Attachments:
GoogleMapsPrototype.brg