Re: Best way to...

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...

I have a list of world airports, about 25,000. The list looks like this:

KLAX|-118.408074361323|33.9425346884195 
KLBB|-101.822795013889|33.6636445206324 
KLBE|-79.4047956708861|40.2759411160023 
KLBF|-100.683662721014|41.1262132608696 
KLBL|-100.959853220239|37.0442112733297 
KLBO|-92.6537609065369|37.6472052018638 
...etc. 

I know my current location from my gps. So, what is an efficient way to find the 3 closest airports to my current location? Extra points for using Euphoria 4.0 routines :)

There was a question on StackOverflow asking about this (not for euphoria, of course).

Geohashing looks like a way to attack it.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu