Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

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
> 
> 
> 



  • Prev by Date: Re: question (for Mathematica 6!)
  • Next by Date: Re: Integrating Differential Equations with Time Delay
  • Previous by thread: Problem with CityData.m
  • Next by thread: documentation notebooks in 6.0