Core Location should expose great circle distance calculation as a C function or a class method

Originator:juri.pakaste
Number:rdar://13990078 Date Originated:25-May-2013 02:26 PM
Status:Open Resolved:
Product:iOS SDK Product Version:6.1
Classification:Enhancement Reproducible:Always
 
CLLocation provides the method -distanceFromLocation: for calculating the great circle distance between two locations. I can't see any reason for this functionality to be tied only to CLLocation objects; sometimes it would be useful to perform that calculation with just CLLocationCoordinate2D structs and it would be nice to have it available without allocating CLLocation objects or implementing the calculation yourself.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!