Geocoding is the process of converting addresses (like a street address) into geographic coordinates (like latitude and longitude), and vice-versa – converting geographic coordinates into a human-readable address.
Routing is a process of creating a route between two points on the map.
For geocoding and routing to work, a geocoder/route provider is needed. Here we’ll discuss how to use Google services for those purposes.
Google currently is the most reliable and accurate provider.
But due to Google’s license agreement, geocoder and routing are only available to license holders. There are 2 ways to get that license.
- Use our Premium GIS package.
This option is easy to use since all maintenance will be done by us.
- Use your own Google API keys.
This way you will have full control over your license.
For security purposes, we recommend creating two Google API keys and restrict them as follows
First Google API key:
Should be restricted by HTTP referrer as follows:
(Use your own domain instead ‘yourdomain’)
Should be restricted by following APIs:
- Google Street View Image API
Second Google API key:
Should be restricted by your server’s IP address only, and by the following APIs:
- Google Maps Geocoding API
- Google Maps Geolocation API
- Google Maps Directions API
In order to use your personal keys on our platform please send them to our support team so that we could install them for you.
If you need help with creating your own Google API keys, please refer to this article.
Please note that according to Google usage policy, Google Premium plan is required to be able to use Google API for asset tracking purposes. You can get more information from Google using the link below: