>>>make any sense?

Well honestly, yes and no,
or co-ordinates are coming back in degrees that is positive,

so if this is the case 

>>>radians=(degrees+minutes/60)*pI/180  

>>>>  minutes  <<<<<

I'm not sure which may to identify this,

J

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 12:43 PM
To: CF-Talk
Subject: Re: Longitudes and Latitudes (AGAIN)


looks maybe like your distance is in radians? are your lat/long coordinates
in
radians as well?  for that formula i think you need radians:

radians=(degrees+minutes/60)*pI/180

great CIRCLE distance forumla:
d=(acos(sin(lat1)*sin(lat2)+cos(lat1)*cos(lat2)*cos(lon1-lon2)))*180*60/pi
where lat & long are in radians, should you give nautical miles.

>
D=(1.852*60)*(ACOS(SIN(minLatitude)*(SIN(maxLatitude)+(COS(minLatitude)*(COS
> (maxLatitude)*(COS(minLongitude-maxLongitude)))))))>

not sure of your GIS technology but most (that i know) would render
geographic data based on a bounding box (lower left, upper right).
actually seems kinda hard to query for spatial features like this (center
point & distance)...though i guess it might be building the bounding
box from that onfo on the fly ll=xMid-d, yMid-d, ur=xMid+d, yMid+d.
if that's the case i guess the distance needs to be in radians (or
arcseconds
or whatever it will swallow).

make any sense?


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to