The Natural Area Coding System is a geodetic system that has generated code called Natural Area Code (NAC) to unify the representations of geographic coordinates, area codes, street addresses, postal codes, map grids and property identifiers of every location or area in the world, and make the information from all maps, GPS receivers and location based services and products connected, efficient and universal.
The NAC Real-time Routing API provides the total distance, total travel time and detailed step-by-step instructions, the coordinates of all the path points of the route and the detail route map along any given locations in 25 countries to web applications in real time. Users can specify travel mode (driving, walking and transit), route requirements, map type (road, aerial or aerial with labels), map sizes and language culture for the instructions and maps. The supported languages are Dutch, English, French, German, Italian, Portuguese, Spanish and Swedish.
The service can be accessed through SOAP web service or REST web service. The REST web service can return in either XML or JSON format.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.