Jump to content

GRplugin 1.5b2 - Error in SCTDATA draw function


Jonathan Fong (1308253)

Recommended Posts

Jonathan Fong (1308253)

Hi, I'm currently updating the Iceland sector file to use GRplugin 1.5b2, and I'm trying to use the new SCTDATA function to draw the outline of the BIKF CTR onto the APP window. However, the results are a bit off:

image.png.93ee88731a542a422df0d64191e0f34d.png

The command I am using in GRpluginMaps.txt is:

SCTDATA:ARTCC LOW\CTR - BIKF

How it should look (from an old version of the code where all the lines were manually drawn):

image.png.01b50fb0b828fd95be2b56c038b624da.png

Here is the portion of code in the SCT file (which is auto-generated by AeroNav GNG) that draws the CTR on the sector file itself:

CTR - BIKF                               N064.11.30.199 W022.19.45.200 N064.08.11.450 W022.46.51.931 COLOR_AoRapproach1
                                         N064.08.11.450 W022.46.51.931 N064.07.25.902 W022.49.52.713 COLOR_AoRapproach1
                                         N064.07.25.902 W022.49.52.713 N064.06.19.650 W022.52.55.374 COLOR_AoRapproach1
                                         N064.06.19.650 W022.52.55.374 N064.04.59.164 W022.55.29.410 COLOR_AoRapproach1
                                         N064.04.59.164 W022.55.29.410 N064.03.28.806 W022.57.29.494 COLOR_AoRapproach1
                                         N064.03.28.806 W022.57.29.494 N064.01.50.674 W022.58.51.977 COLOR_AoRapproach1
                                         N064.01.50.674 W022.58.51.977 N064.00.07.752 W022.59.34.354 COLOR_AoRapproach1
                                         N064.00.07.752 W022.59.34.354 N063.58.23.166 W022.59.35.335 COLOR_AoRapproach1
                                         N063.58.23.166 W022.59.35.335 N063.56.40.443 W022.58.54.893 COLOR_AoRapproach1
                                         N063.56.40.443 W022.58.54.893 N063.55.01.668 W022.57.34.255 COLOR_AoRapproach1
                                         N063.55.01.668 W022.57.34.255 N063.53.30.879 W022.55.35.872 COLOR_AoRapproach1
                                         N063.53.30.879 W022.55.35.872 N063.52.10.484 W022.53.03.340 COLOR_AoRapproach1
                                         N063.52.10.484 W022.53.03.340 N063.51.02.928 W022.50.01.295 COLOR_AoRapproach1
                                         N063.51.02.928 W022.50.01.295 N063.50.10.262 W022.46.35.267 COLOR_AoRapproach1
                                         N063.50.10.262 W022.46.35.267 N063.49.34.718 W022.42.51.517 COLOR_AoRapproach1
                                         N063.49.34.718 W022.42.51.517 N063.49.15.501 W022.38.56.843 COLOR_AoRapproach1
                                         N063.49.15.501 W022.38.56.843 N063.49.15.134 W022.34.58.375 COLOR_AoRapproach1
                                         N063.49.15.134 W022.34.58.375 N063.49.32.808 W022.31.03.361 COLOR_AoRapproach1
                                         N063.49.32.808 W022.31.03.361 N063.50.08.174 W022.27.18.939 COLOR_AoRapproach1
                                         N063.50.08.174 W022.27.18.939 N063.51.03.171 W022.23.56.799 COLOR_AoRapproach1
                                         N063.51.03.171 W022.23.56.799 N063.57.34.999 W022.04.29.999 COLOR_AoRapproach1
                                         N064.11.30.199 W022.19.45.200 N063.57.34.999 W022.04.29.999 COLOR_AoRapproach1

And if it helps, here is a copy of the old Maps code where all the lines for the BIKF CTR were drawn manually:

MAP:BIKF CTR:A
FOLDER:BIKF
ACTIVE:1
COLOR:AirspaceBorder
LINE:N064.11.30.199:W022.19.45.200:N064.08.11.450:W022.46.51.931
LINE:N064.08.11.450:W022.46.51.931:N064.07.25.902:W022.49.52.713
LINE:N064.07.25.902:W022.49.52.713:N064.06.19.650:W022.52.55.374
LINE:N064.06.19.650:W022.52.55.374:N064.04.59.164:W022.55.29.410
LINE:N064.04.59.164:W022.55.29.410:N064.03.28.806:W022.57.29.494
LINE:N064.03.28.806:W022.57.29.494:N064.01.50.674:W022.58.51.977
LINE:N064.01.50.674:W022.58.51.977:N064.00.07.752:W022.59.34.354
LINE:N063.58.23.166:W022.59.35.335:N063.56.40.443:W022.58.54.893
LINE:N063.56.40.443:W022.58.54.893:N063.55.01.668:W022.57.34.255
LINE:N063.55.01.668:W022.57.34.255:N063.53.30.879:W022.55.35.872
LINE:N063.53.30.879:W022.55.35.872:N063.52.10.484:W022.53.03.340
LINE:N063.52.10.484:W022.53.03.340:N063.51.02.928:W022.50.01.295
LINE:N063.51.02.928:W022.50.01.295:N063.50.10.262:W022.46.35.267
LINE:N063.50.10.262:W022.46.35.267:N063.49.34.718:W022.42.51.517
LINE:N063.49.34.718:W022.42.51.517:N063.49.15.501:W022.38.56.843
LINE:N063.49.15.501:W022.38.56.843:N063.49.15.134:W022.34.58.375
LINE:N063.49.15.134:W022.34.58.375:N063.49.32.808:W022.31.03.361
LINE:N063.49.32.808:W022.31.03.361:N063.50.08.174:W022.27.18.939
LINE:N063.50.08.174:W022.27.18.939:N063.51.03.171:W022.23.56.799
LINE:N063.51.03.171:W022.23.56.799:N063.57.34.999:W022.04.29.999
LINE:N064.11.30.199:W022.19.45.200:N063.57.34.999:W022.04.29.999

Please advise. Thanks!

Edited by Jonathan Fong
Link to comment
Share on other sites

Jonathan Fong (1308253)

Small update: Having read the Developer's Manual in more detail, I tried adding the SplitDist parameter to filter out the wonky line, like this:

SCTDATA:ARTCC LOW\CTR - BIKF:16

However, even then, there is a big 'gap' where the line is simply missing.

image.png.92ccd255ddd24ab4d660f69813d97016.png

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

When visiting this site, only cookies that are strictly necessary for you to use the website is being used, unless you have provided further consent. Read more in our Privacy Policy