# Calculated Distances  all Zero

**URL:** <https://forum.phpvms.net/t/calculated-distances-all-zero/2252>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [March 19, 2010, 4:03pm UTC](https://forum.phpvms.net/t/calculated-distances-all-zero/2252 "2010-03-19T16:03:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CrashGordon](https://forum.phpvms.net/user_avatar/forum.phpvms.net/crashgordon/32/34_2.png) [@CrashGordon](https://forum.phpvms.net/u/CrashGordon)\
**Post date:** [March 19, 2010, 4:03pm UTC](https://forum.phpvms.net/t/calculated-distances-all-zero/2252/1 "2010-03-19T16:03:25Z")

</div>

While we were using primarily standin routes which were essential placeholders so our pilots could fly anywhere, I didn’t notice the problem since all flights were to and from the same point and thus always returned 0 as a distance. Now, however, I’ve added some standard routes to the schedule, yet no matter where they are, they calculate zero distance. Any ideas?

This isn’t an urgent problem since I can calculate the distances on my own, but it would be handy to have this feature back.

Thanks.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 19, 2010, 4:05pm UTC](https://forum.phpvms.net/t/calculated-distances-all-zero/2252/2 "2010-03-19T16:05:07Z")

</div>

> While we were using primarily standin routes which were essential placeholders so our pilots could fly anywhere, I didn’t notice the problem since all flights were to and from the same point and thus always returned 0 as a distance. Now, however, I’ve added some standard routes to the schedule, yet no matter where they are, they calculate zero distance. Any ideas?
> 
> This isn’t an urgent problem since I can calculate the distances on my own, but it would be handy to have this feature back.
> 
> Thanks.

Hey - which version are you on? There was a bug with that I remember but IIRC it was fixed.

---

<div class="post-metadata">

**Author:** ![CrashGordon](https://forum.phpvms.net/user_avatar/forum.phpvms.net/crashgordon/32/34_2.png) [@CrashGordon](https://forum.phpvms.net/u/CrashGordon)\
**Post date:** [March 19, 2010, 4:37pm UTC](https://forum.phpvms.net/t/calculated-distances-all-zero/2252/3 "2010-03-19T16:37:25Z")

</div>

> Hey - which version are you on? There was a bug with that I remember but IIRC it was fixed.

Version 2.0.854

Gee, I always assume it is something I broke.

---

<div class="post-metadata">

**Author:** ![CrashGordon](https://forum.phpvms.net/user_avatar/forum.phpvms.net/crashgordon/32/34_2.png) [@CrashGordon](https://forum.phpvms.net/u/CrashGordon)\
**Post date:** [March 19, 2010, 6:41pm UTC](https://forum.phpvms.net/t/calculated-distances-all-zero/2252/4 "2010-03-19T18:41:08Z")

</div>

> ugh, In ur schedule area have u tried re calculating distances?

Yep. It does the usual “Calculating…” and then goes to 0.

Fortunately, the distance is one of the few things I can enter without getting an error when I click on edit route. So, I can get the distance entered manually.

Oops. Now, I understand what you meant. It appears torecalculate the distances for the PIREPS, but the routes stay at zero.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 19, 2010, 11:10pm UTC](https://forum.phpvms.net/t/calculated-distances-all-zero/2252/5 "2010-03-19T23:10:03Z")

</div>

Hmm weird, let me see if I can dupe. I def remember a bug with that being fixed.

---

<div class="post-metadata">

**Author:** ![CrashGordon](https://forum.phpvms.net/user_avatar/forum.phpvms.net/crashgordon/32/34_2.png) [@CrashGordon](https://forum.phpvms.net/u/CrashGordon)\
**Post date:** [March 20, 2010, 12:40am UTC](https://forum.phpvms.net/t/calculated-distances-all-zero/2252/6 "2010-03-20T00:40:43Z")

</div>

> Hmm weird, let me see if I can dupe. I def remember a bug with that being fixed.

I wouldn’t have noticed it if we hadn’t brought some of our operations back to a traditional hub and route structure. I don’t have that many routes to add and have no problem looking up the distances.
