Re: Problem with CityData.m
- To: mathgroup at smc.vnet.net
- Subject: [mg75551] Re: [mg75517] Problem with CityData.m
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sat, 5 May 2007 05:56:01 -0400 (EDT)
- Reply-to: hanlonr at cox.net
It "imagined" that you moved your feet...
Needs["Miscellaneous`CityData`"];
km=CityDistance["Mogadisho","Mogadisho",
CityDistanceMethod->SpheroidalDistance]
0.
Bob Hanlon
---- Virgil Stokes <vs at it.uu.se> wrote:
> I am trying to use the file
>
> CityData.m
>
> which is supplied with Mathematica (5.2) and
> there seems to be a problem with it. That is, if
> I give the following commands
>
> <<Miscellaneous`CityData`
> km=CityDistance["Mogadisho","Mogadisho"]
>
> This returns a value of
>
>
>
> Of course, this should be exactly 0. There can happen for
> other cities also.
>
> Is there an easy fix for this?
>
> Thanks,
> --V. Stokes
>
>
>