BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Alonzo
Calcite | Level 5

Hello,

I am using Google Maps in SAS enterprise guide to calculate driving time two points.

However, google allow me to use maps api only limited number, so I purchased google maps license.

The problem is I have no idea how to log on google account.

Would anyone please explain how to do it?

Thanks

--

Suppose, my username : Alonzo and pw : Texas.

I open google maps using filename statement.

=> filename x url "http://maps.googleapis.com/maps/api/directions/xml?origin=&p1&destination=&p2"

Should above line be

=> filename x url "http://maps.googleapis.com/maps/api/directions/xml?origin=&p1&destination=&p2" user='Alonzo' pass='Texas' prompt;

1 ACCEPTED SOLUTION

Accepted Solutions
3 REPLIES 3
Darrell_sas
SAS Employee

If you licensed Google Maps, I think you are using Google Maps for Work. 

It says this about using the key:

Google Maps for Work customers must include client and signature parameters with their requests instead of a key.

and

Google Maps API web services will deny requests made with both a client ID and a key.



https://developers.google.com/maps/documentation/business/webservices/#client_id


hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1911 views
  • 3 likes
  • 4 in conversation