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. We support two geocoder/route providers, and below you can find description for each of them.
Google geocoding API
This is the recommended geocoder/route provider, as it is most accurate. Google geocoding API use Google API keys to authorize the requests. Each API key can be assigned to different Google API services. For security purposes, we recommend creating two Google API keys, and assign them to the following Google API services:
First Google API key (should be restricted by HTTP referrer, which is your user interface URL):
Second Google API key (Should be restricted by server IP):
Google Maps Geocoding API
Google Maps Geolocation API
- Google Maps Directions API
Send the keys to Navixy tech.support so that we can install them for you, or you can refer to our how-to guide if you wish to install them yourself.
OpenStreetMap (OSM) and OpenSourceRoutingMachine (OSRM) are free alternatives to Google API. The downside of OSM is that it’s less accurate than Google in some parts of the world, and that it has usage limits – if you send too many geocoding requests per second, your IP might be blocked by OSM servers. In practice, you will start hitting this limit if you have approximately 700 devices and more.
If you’re going to use small number of devices, OSM geocoder and OSRM routing might be a viable option.