Hello, I've a list of pair of coordinates for varX and varY and I'm using georoute to calculate the distance and time travel.
However, while it is easy to implement the command for a single pair of coordinates by simpling adding startxy(45.077179,7.6965752) endxy(45.069443,7.6897054), I don't know how to do this from a list. I've tried the following:
georoutei, herekey(...) startxy(lati_x1, longi_x1) endxy(lati_y2 , longi_y2) km distance time replace
Any suggestions.
Thanks
Related Posts with georoute
Performing cross tabulations using "asdoc" commandI would like to import cross tabulation results using asdoc command. The code im currently using is,…
Request guidance in Out-of-sample on Probit modelHi, Forgive me for my silly question as I am new to this. I do not understand how I can generate Out…
creating variables in forval numeric forloopHi all, I wanr to create variables in a forval numeric forloop forval i = -7(1)7{ gen dummy_`i' =…
Joint ML estimation of normal and logit model (-mtreatreg- ,user written command), violation of gaussian noise assumptionDear Statalist, I want to estimate the endogenous multinomial treatment model proposed by Deb and T…
How to use rangestat in combination with date constraintsHi, attached you find a .dta file with the three columns ticker, date and an index value (gsv_scale…
Subscribe to:
Post Comments (Atom)
0 Response to georoute
Post a Comment