Pelles C forum

C language => User contributions => Topic started by: HellOfMice on May 14, 2023, 04:47:00 PM

Title: Computing the QTH locator (For SWL)
Post by: HellOfMice on May 14, 2023, 04:47:00 PM
A small program to compute the locator. Useful for making the log file when listenning radio.
Title: Re: Computing the QTH locator (For SWL)
Post by: Pelle on May 15, 2023, 11:07:05 AM
I had to look it up...  ::)
https://en.wikipedia.org/wiki/Maidenhead_Locator_System (https://en.wikipedia.org/wiki/Maidenhead_Locator_System)
Title: Re: Computing the QTH locator (For SWL)
Post by: HellOfMice on May 15, 2023, 11:13:00 AM
I have began with this link.
There are not many sites that give the three forms, generally they only display the six characters form.
I wrote the program with the help of this link
http://www.w8bh.net/grid_squares.pdf (http://www.w8bh.net/grid_squares.pdf)

Title: Re: Computing the QTH locator (For SWL)
Post by: HellOfMice on May 15, 2023, 11:18:28 AM
Sometimes we have not the decimal latitude and the decimal longitude.
I wrote a small utility to get them, it is joint to this message.

If it is South latitude, the resulting valu_e is negative.
If it is West longitude, the resulting value is negative.

Now you now where I live...
Title: Re: Computing the QTH locator (For SWL)
Post by: HellOfMice on May 15, 2023, 11:29:56 AM
You can get the sexagesimal latitude and longitude with this program
Title: Re: Computing the QTH locator (For SWL)
Post by: John Z on May 20, 2023, 12:03:33 PM
Thanks Sir HellofMice,

Going to make me learn something new ... ;)

John Z
Title: Re: Computing the QTH locator (For SWL)
Post by: HellOfMice on May 20, 2023, 04:55:33 PM
Compile the programs with the last version of Pelle's RC11 V2
https://rigreference.com/software/categories/grid-bearing-maps (https://rigreference.com/software/categories/grid-bearing-maps)
The file joint is the invers of the Locator program.
There are some differences with Locator that I can't explain.
I compared my results withs other web site very often mines are better.
Compile with no optimization and no extra optimization (for all programs).
If you want to listen to short waves radios go to http://websdr.org/


Good Morning CowBoy
F5205SWL
Title: Re: Computing the QTH locator (For SWL)
Post by: John Z on May 21, 2023, 05:50:03 PM
Nice - I never knew shortwave radio available to listen over the internet!

Great!

John Z