[OpenMap Users] sort lat,lon pairs (or find distance)

From: Ben Podoll <benjamin.podoll@und.edu>
Date: Wed Aug 11 2004 - 18:45:33 EDT

I have a list of LatLonPoint objects, and I want to sort them by distance
from a LatLonPoint. Hence I want to make a method that could do this:

public List sortLatLons(List latlonlist, LatLonPoint llp){
   //where the latlonlist is a List of LatLonPoint objects
   //sort the latlonlist in order closest to the llp
   //return the list
}

What can I use in OpenMap to accomplish this goal?

Thanks,
Ben

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Aug 11 18:47:49 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:39 EDT