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

From: Ben Podoll <benjamin.podoll_at_und.edu>
Date: Wed, 11 Aug 2004 17:45:33 -0500

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_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Aug 11 2004 - 18:47:49 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:05 EDT