Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: traveltime, error in Stata 12
From
Lucas Ferreira Mation <[email protected]>
To
statalist <[email protected]>
Subject
st: traveltime, error in Stata 12
Date
Fri, 7 Mar 2014 18:37:28 -0300
I'm getting an error when running the user written "traveltime"
function, which is a wrapper for the googleMaps API. This code
replicates the error:
clear
ssc install traveltime, replace
input ///
X_start Y_start X_end Y_end
-60.670533 2.816682 -61.314022 2.993823
-60.670533 2.816682 -59.878007 3.350289
end
traveltime, start_x(X_start) start_y(Y_start) end_x(X_end)
end_y(Y_end) mode(1) km
I get the error:
"
file http://maps.google.com/maps?f=d&output=dragdir&saddr=2.816682100296021,-60.6705322265625&daddr=2.993823051452637,-61.31402206420898&dirflg=
not found
server says file temporarily redirected to
https://maps.google.com/maps?f=d&output=dragdir&saddr=2.816682100296021,-60.6705322265625&daddr=2.993823051452637,
> -61.31402206420898&dirflg=
"
I'm assuming this error should be because of the "httpS" protocol, not
supported in stata 12, but supported in stata 13. Correct? Could
someone test if the snippet of code above works on stata 13?
any workarounds (apart from upgrading to Stata 13, which is becoming
more and more urgent...)?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/