Microsoft Access VBA assistance for Here API - ms-access

For years I used google maps to calculate travel time and distance for sales routes. Using MS Access database table for locations and a little form that a user could select addresses and number a route sequence.
However, this data is not freely accessible anymore.
I used to send google maps a simple string that contained a starting address and an ending address and I would get back a data string that would, among other things, contain the travel time and distance.
I would like to obtain a similar result with Here.
What I don't see at the Here site is any VBA guidance so I can write a callable module, in Access, that returns simple travel time and distance.

You can use the Routing Api for getting distance, travel time and numerous other information for a given mode of transport. You can call the routing rest api from your macro (VBA).

Related

What if I have no results to display on a map after calling Google Distance Matrix API

I would like to develop a service, using Google Distance Matrix API, where a user can enter their current location and a map will be displayed showing how many other users from their group have addresses in the same general area. For privacy reasons, I do not want to show any other details (location, name, address etc.) of those other users just the number of people.
In order to ascertain this information I was intending to make a call to the API and displaying under the map of their area a message like "There are 5 other people within a 3 minute drive of your address".
Can anybody tell me whether this meets the API limitation:
The Google Maps Distance Matrix API may only be used in conjunction with displaying results on a Google map. It is prohibited to use Google Maps Distance Matrix API data without displaying a Google map
If my requirements of the API are not acceptable, could anybody suggest another publicly available API that I could use in its place?
Thanks!
Yournavigation Api gives you distance from given points.
Try this request example.
You can find their usage policy here.
They said that there are no limitations on usage, except those regarding overload:
The routing API is open and freely available for everyone under the condition that you don't overload the server. Overloading the server in this context means: more then 1 request per second for sustained periods of time. Bursting multiple requests for short time-periods is not a problem though

google api maps ms access lookup

I have an MS Access database 2007 that records addresses manually.
I cannot afford the Post Office address finder therefore Google Maps or Places has been recommended to me.
I want to enter into a MS Access form either House number and postcode or just postcode that will query google and return the full address (Number, street, County and X Y coordinates etc) that I can then select and save to my table.
I do have VBA knowledge and have searched google extensively for examples but I am at a loss. I have also tried myself - but failed !!!
I am a complete novice in this area of using APIs, therefore any guidance or examples in this will be extreamly appreciated.
Have a read of this thread for an example https://www.access-programmers.co.uk/forums/showthread.php?t=206247

Can users rate a restaurant by using google places API?

I am able to get restaurants list, timings, rating and displaying them in my Android application by using Google places API. This is API
https://maps.googleapis.com/maps/api/place/search/json?location=13.0104611,80.2086226&
radius=10000&types=cafe|restaurant&hasNextPage=true&nextPage()=true&sensor=false&key=MY_API_KEY
As per my client requirement, Users should be able to give rating to a specific restaurant from my application, this restaurant got from above Googel API.
Kindly tell me whether possible or not giving rating to a restaurant from above API . Thanks in advance.
According to the documentation, using the Google Places API Web Service, the following place requests are available:
Place Searches return a list of places based on a user's location or search string.
Place Details requests return more detailed information about a specific Place, including user reviews.
Place Add allow you to supplement the data in Google's Places database with data from your application.
Place Photos gives you access to the millions of Place related photos stored in Google's Place database.
Place Autocomplete can be used to automatically fill in the name and/or address of a place as you type.
Query Autocomplete can be used to provide a query prediction service for text-based geographic searches, by returning suggested queries as you type.
The only request that allows to put data is Place Add, but according to the documentation it adds a place that is available immediately in Nearby Searches initiated by your application and also enters a moderation queue to be considered for Google Maps.
So the answer is that for the time being it's not possible to add reviews to Places using the Google Places API Web Service.

Look up walking time (calculated by Google maps) between two addresses (in a Google spreadsheet)

I have a Google spreadsheet with one column of physical addresses, and I want to have a second column be the time in minutes to walk between the address in column 1 and a second address (as determined by Google Maps). Any recommendations on how to accomplish this task?
From my understanding of the Google Maps terms of service, they:
don't like people using their service as a "batch geocoder". This means that
you will need to throttle your requests (place delays between each successive request, to avoid the OVER_QUERY_LIMIT error)
it is against the terms of service to use the geocoder (and maybe the distance service) without displaying a map graphic
If you still want to proceed,
you need some way of extracting the address from your spreadsheet. I think there's a Google docs API that will help you do that. I also found some custom Javascript code that does that for you easily. I don't have a link anymore :(
once you have the addresses readable from the Google Maps Javascript API, you can call the distance or directions API to get the walking distance
then you need to save that back to the spreadsheet.
It sounds like a possible application for the Distance Matrix Service.
But you can only use it if you will be displaying a map
Use of the Distance Matrix API must relate to the display of
information on a Google Map; for example, to determine
origin-destination pairs that fall within a specific driving time from
one another, before requesting and displaying those destinations on a
map. Use of the service in an application that doesn't display a
Google map is prohibited.

Geo input - how to input, store and display locations

I would like to store a user enter location and could do with some pointers on how to go about it.
Input - I wish to allow the user to enter a location using either a map (eg Google maps) or text input.
Storage - I believe it would make sense to store the location as the longitude and latitude.
Manipulation and Display - I'd like to display a name for a given longitude and latitude. I'd also like to search for all inputs from an arbitrary region eg London.
What libraries or packages (preferably Java, preferably free) can be used to help with this process?
The process of converting an address to a latitude/longitude pair is called geocoding. Doing the reverse process (lat/long to address) is called reverse geocoding.
The Google Maps API is capable of performing both these functions. However, note that there are service limits in place on the number and frequency of requests made to perform these functions. This means you'll want to implement some kind of caching mechanism for the results.
Doing a name search for a region I don't know about. The maps API may do this, but I haven't gone in enough depth with it to find out.