July 5, 20232 yr Hello, Is there a way to force a 4 letter ident when searching for a random flight? For example, Africa as a whole has idents that start with f, h, d, and g. If i seach for F* I get stuff like F00 in America. If i search for F*** I get the same list, because * is simply a wildcard. Is there a way to do something like a regular expression like F[a-z][a-z][a-z] so that i only get 4 character ident codes starting with F? Sorry if this makes no sense. I like the random flight function a lot but would like to isolate the possible airports not just by runway length and features but also (what i presume are) country codes.
July 5, 20232 yr I could add a "?" as a search term for one character to stay with the globbing search scheme for all search functions. This has to be translated to SQL "_" internally. I'd like to stay away from regular expressions. Search will be slow and it's more for developers. Alex Alex' Projects: Little Navmap
July 5, 20232 yr Try https://metar-taf.com/ for runway info and https://edi-gla.co.uk/for formatted flight plans. I find the some of the plans rather odd and prefer to build my own based the starting and ending points. James M Driskell, Maj USMC (Ret)
July 7, 20232 yr Author On 7/5/2023 at 2:24 PM, albar965 said: I could add a "?" as a search term for one character to stay with the globbing search scheme for all search functions. This has to be translated to SQL "_" internally. I'd like to stay away from regular expressions. Search will be slow and it's more for developers. Alex Thank you for the response. I'm not sure I understand exactly what you mean. Do you mean something like search for K??? and get all idents with K and any other characters in the next 3 spots? I would expect K _ _ _ and not something like K _ _ or K _ _ _ _ (if that even exists) as a result. Maybe just a check box for "only 4 character idents"? I assume that would lend itself to an easier query like ident.length =4? I totally understand staying away from regex. Just realized you are a developer for the program. Thanks for even taking an interest. I love LNM as a a casual enjoyer of msfs2020 this program as made learning a huge part of the sim much easier.
July 7, 20232 yr Author On 7/5/2023 at 2:27 PM, jmdriskell said: Try https://metar-taf.com/ for runway info and https://edi-gla.co.uk/for formatted flight plans. I find the some of the plans rather odd and prefer to build my own based the starting and ending points. I used Metar-taf for a while before i realized LNM has a preferred runway on one of its screens. Or did you mean that it would generate a random start and ending airport location? If so, i haven't managed to find that function.
July 7, 20232 yr 1 hour ago, engmanredbeard said: Thank you for the response. I'm not sure I understand exactly what you mean. Do you mean something like search for K??? and get all idents with K and any other characters in the next 3 spots? I would expect K _ _ _ and not something like K _ _ or K _ _ _ _ (if that even exists) as a result. K??? will give you KAAA ... KZZV but not K24 or KWP. This is globbing and used on shells or command lines in OS. Alex Alex' Projects: Little Navmap
July 7, 20232 yr 3 hours ago, engmanredbeard said: I used Metar-taf for a while before i realized LNM has a preferred runway on one of its screens. Or did you mean that it would generate a random start and ending airport location? If so, i haven't managed to find that function. No, you need to know the start and end of the flight to get the weather at each end. The second source will give you previously built flight plans. If you don't know the airport code for your proposed start and end, google the "city" "airport code" and you can probably find the correct codes. You can get the same codes from LNM's map. James M Driskell, Maj USMC (Ret)
Archived
This topic is now archived and is closed to further replies.