SM-land codeplug (Sweden)

Post your OpenGD77 codeplugs here
SA0ASM
Posts: 23
Joined: Thu Dec 21, 2023 5:00 pm
Location: JO89xi, Bromma, Sweden

Re: SM-land codeplug (Sweden)

Post by SA0ASM » Mon Apr 08, 2024 6:34 pm

I think I've fixed the lat/long values in the script now, seems like the CPS import wants dots and isn't too happy with commas. Please try again!

73 de SA0ASM

SA0BUX
Posts: 585
Joined: Tue Jul 05, 2022 8:50 am
Location: JO99ah, Stockholm, Sweden
Contact:

Re: SM-land codeplug (Sweden)

Post by SA0BUX » Mon Apr 08, 2024 9:59 pm

SA0ASM wrote:
Mon Apr 08, 2024 6:34 pm
I think I've fixed the lat/long values in the script now, seems like the CPS import wants dots and isn't too happy with commas. Please try again!

73 de SA0ASM
What "Region Formats" do you have in Windows ?

In this new version that I pulled now I must use "English (United States)" , if I use "English (Sweden)" I'm getting an error on first row with a lat/long.

Code: Select all

501;SL0ZS Vastberga;Analogue;145.6000;145.0000;25;;;;;;;;123.0;123.0;Disabled;Master;No;No;No;0;Off;No;No;None;59.298;17.99
The old version which was a hybrid as it was semicolon separated but with periods in most fields except lat/long was posssible to import with "English (Sweden)"

Code: Select all

501;SL0ZS Vastberga;Analogue;145.6000;145.0000;25;;;;;;;;123.0;123.0;Disabled;Master;No;No;No;0;Off;No;No;None;59,298;17,99
I used sed -e 's/\./,/g' on the new variant and could import with "English (Sweden)"

Code: Select all

501;SL0ZS Vastberga;Analogue;145,6000;145,0000;25;;;;;;;;123,0;123,0;Disabled;Master;No;No;No;0;Off;No;No;None;59,298;17,99
Maybe we could have a flag that control the format ?

The "correct CSV output in "English (United States)" looks like below, but the tabs before frequency is not needed.

Code: Select all

501,SL0ZS Vastberga,Analogue,   145.60000,      145.00000,25,,,,,,,,123.0,123.0,Disabled,Master,No,No,No,0,Off,No,No,None,59.298,17.99

Post Reply