PPRuNe Forums - View Single Post - NOTAM's Update
Thread: NOTAM's Update
View Single Post
Old 10th Apr 2003, 15:42
  #11 (permalink)  
Mike Cross
 
Join Date: Sep 2002
Location: Savannah GA & Portsmouth UK
Posts: 1,784
Likes: 0
Received 0 Likes on 0 Posts
Clever sorts are a bit tricky. How do you do a sort by lat & long?

If you sort by lat, then by long you might get problems, consider this.

A is at 51.6000 N 001.00 E
B is at 51.6100 N 001.00 E
C is at 51.6000 N 002.00 E

In other words A is 1nm south of B and C is about 50 nm away

A sort by ascending lat then long would put them in the order ACB, separating two places a mile apart with something 50 miles away.

This can easily happen with something like an airfield with a co-located navaid where the positions differ slightly.

Perhaps rounding lat to 10 minutes before sorting might be useful. This would result in a sort into 10 nm wide horizontal bands. (or 20, 30, whatever)

Ideas anybody? This is fairly important. If we are to ask for it to be changed we want to get it right first time.

Mike
Mike Cross is offline