Hi!
I'm trying to use the osrmtime command in Stata environment in order to calculate percurrence time/distance in an automaded way.
At the moment the command works but the output not.
After a general run I get the following results:
list Origine Destinazione distance duration jumpdist1 jumpdist2 return_code in 1/4
+------------------------------------------------------------------------------+
| Origine Destinazi~e distance duration jumpdi~1 jumpdi~2 return~e |
|------------------------------------------------------------------------------|
| ALGHERO ALGHERO 0 0 4064617 4064617 OK |
| ALGHERO BENETUTTI 0 0 4064617 3980292 OK |
| ALGHERO BONO 0 0 4064617 3990541 OK |
| ALGHERO CASTELSARDO 0 0 4064617 4051115 OK |
+------------------------------------------------------------------------------+
There are several problems in this output.
- Using the Italy latest map it seems it does not cover Sardinia area, it is possible?
- duration and distance are set to 0 of every pair of itineraries;
- jumpdist1 and jumpdist2 are in order 4000km as if I was using a map from, maybe, middle east.
- return~e give code ok, that is not normally planned to be in the Stata journal article.
Someone could give me some advice on it? Thanks.
asked
27 Feb '22, 09:58
Shardana
16●2●2●3
accept rate:
0%