Re: is extendedTransforms.ellipseDist ignoring longitude differences?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: is extendedTransforms.ellipseDist ignoring longitude differences?

Richard Ristow
At 10:35 AM 9/9/2014, Art Kendall posted this code:

>SPSSINC TRANS RESULT=milesoff TYPE=0
>/FORMULA
>extendedTransforms.ellipseDist(lat1=latitude2,lon1=longitude3,lat2=latitude3,lon2=
>     longitude3).
>compute feetoff = rnd(5280*milesoff).
>formats feetoff (f6).
>descriptives vars = feetoff.

I see that variable "longitude3" is passed as both the lon1= and
lon2= arguments, so indeed it won't see any differences in longitude.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD