Radarspotting

Mode-S Software => Basestation => Topic started by: F-GITJ on October 30, 2022, 04:12:11 AM

Title: How to create an .out file?
Post by: F-GITJ on October 30, 2022, 04:12:11 AM
Hi!

Firstly, many thanks to everyone who's active on this forum, I found everything I needed so far :-) !

What I would like to do now is to create an outline file in order to display the airways around me.

Creating a file named Airways.out in Editor and copying it into the Basestation/Outlines folder didn't work.

Basestation is showing me an error message when clicking on Reload --> Outlines.

Airways.out content:

{ Airways }

$TYPE=User 1

; UL433

-12.3355+49.2841
-13.6183+50.5505
-1


Any help please :-) ?




[attachment deleted reduce file load]
Title: Re: How to create an .out file?
Post by: Faramir on October 30, 2022, 07:35:19 AM
Try with the empty lines removed. I'm not sure about the comment line... Make it as compact as possible.
Also remove the CR/LF after the last -1, it speeds up loading the file.
Title: Re: How to create an .out file?
Post by: Anmer on October 30, 2022, 07:35:36 AM
Welcome to the forum.

This should work:

{ Airways }
$TYPE=User 1
-12.3355+49.2841
-13.6183+50.5505
-1


One cannot include a "label" in the .out file.  I removed ;UL433

You'll have to create a Waypoint file for that.

Title: Re: How to create an .out file?
Post by: F-GITJ on October 30, 2022, 07:59:42 AM
Thank you both very much for your fast replies 😊👍!

I'll try that later today!
Title: Re: How to create an .out file?
Post by: F-GITJ on October 30, 2022, 08:52:27 AM
The airway/line is drawed now as desired, thanks again :-) !

Going to add the corresponding waypoints.
Title: Re: How to create an .out file?
Post by: Anmer on October 30, 2022, 09:24:44 AM
I just noticed an error in the code.  The $TYPE should be a number value.

The User1 value is 25, see attached.  Each color option has an invisible, incremental row number.  General = 1, Danger Area - 11, AIAA = 21.  User 1 = 25.

If you use $TYPE=User 1 the outline will show but won't use the assigned $TYPE colour.

So you need;

{Airways}
$TYPE=25
-12.3355+49.2841
-13.6183+50.5505
-1


The outline will show but won't use the assigned $TYPE colour.

[attachment deleted reduce file load]
Title: Re: How to create an .out file?
Post by: Faramir on October 30, 2022, 11:44:05 AM
Quote from: Anmer on October 30, 2022, 09:24:44 AM
I just noticed an error in the code.

Well spotted Mike!!
Title: Re: How to create an .out file?
Post by: F-GITJ on October 30, 2022, 02:17:16 PM
Thanks!

I noted that the line colour wasn't working, my User 1 colour = dark red, but the lines were shown in the same green colour as the range rings which suited me as they don't disturb the radar screen image like that.

I now completely deleted the $TYPE= command and tested the Airway file without this command line, result: the airway lines are still showing in range ring green.

Anyway, a very lovely addition to my radar screen :-) !





Quote from: Anmer on October 30, 2022, 09:24:44 AM
I just noticed an error in the code.  The $TYPE should be a number value.

The User1 value is 25, see attached.  Each color option has an invisible, incremental row number.  General = 1, Danger Area - 11, AIAA = 21.  User 1 = 25.

If you use $TYPE=User 1 the outline will show but won't use the assigned $TYPE colour.

So you need;

{Airways}
$TYPE=25
-12.3355+49.2841
-13.6183+50.5505
-1


The outline will show but won't use the assigned $TYPE colour.
Title: Re: How to create an .out file?
Post by: Anmer on October 30, 2022, 02:24:15 PM
Quote from: F-GITJ on October 30, 2022, 02:17:16 PM
I now completely deleted the $TYPE= command and tested the Airway file without this command line, result: the airway lines are still showing in range ring green.

I assume Basestation will default to the General colour if no $TYPE is set or it can't recognise it.