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]
Re: st: traveltime, error in Stata 12
From
"Dimitriy V. Masterov" <[email protected]>
To
Statalist <[email protected]>
Subject
Re: st: traveltime, error in Stata 12
Date
Fri, 7 Mar 2014 14:07:56 -0800
Does not work in Stata 13 as written.
I would try traveltime3. It might work, especially with coordinates
that are not in the middle of the Indian ocean.
DVM
On Fri, Mar 7, 2014 at 1:37 PM, Lucas Ferreira Mation
<[email protected]> wrote:
> 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/
*
* 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/