Jump to content

Sector file tools for conversion of coordinates


Jonas Kuster
 Share

Recommended Posts

  • 2 weeks later...
Posted (edited)

Once again many thanks for using this tool and reporting the issues you have. Sorry it took a little longer to share the next update. But I had to rework different parts of the code to ensure compatibility with the latest script engine version of the web server. I used this opportunity to check the feedback I received after the previous update.

 

On 5/16/2022 at 11:35 AM, Andreas Fuchs said:

Would it be possible to add "Qutescoop" as output format?

Looking at your examples, I assume the format is DD.dd (so just a short version of the Decimal format, with decimal places instead actual minute values (0-60)). Happy to support you there. So I've added this format to the selection. Maybe do some tests to verify if the outputs are as expected.

 

On 5/16/2022 at 10:33 PM, Jannes van Gestel said:

S033.21.22.680 W056.29.45.964

circle(radius 30nm, S033.21.22.680 W056.29.45.964)

I had to do a major rework of all the code dealing with arcs. And beside other issues, this should now work again. Btw, the short version to draw a circle like this with my tool is S033.21.22.680 W056.29.45.964/30.

 

On 5/20/2022 at 6:14 AM, Chris Gutierrez said:

Dashed Lines would be very helpful to draw realistic Sectors.

At this time, there is no quick way to implement this functionality. But I'll work towards it while improving and fixing other parts of the code.

  • I see some longer lines in our screenshot. Is this intentional? Or should a line with 3+ points continuously use the same distances between dashes?
  • How about arcs? Are dashes needed there as well? If so, should the tick length be based on distance (as well) or angle?

 

On 5/27/2022 at 9:49 AM, Adrian Bjerke said:

I am getting multiple incorrect coordinate convertions now - here are two examples:

594700N 0080917E  gets translated as N059.46.60.000    E008.09.17.000
595349N 0090000E gets translated as N059.53.49.000    E900000000001.00.00.000

Sorry, the long ones were a newly "added" bug from my side while trying to mitigate the 60 seconds issue. Both examples now work as expected. And I have changed the handling for the 60s issue, should occur even less now, if not vanish at all. But who knows what other bugs I may have implemented. So always thankful for your reports right away.

Edited by Jonas Kuster
  • Like 1

Jonas Kuster
Network Supervisor
Leader Operation vACC Switzerland | vacc.ch @vaccswitzerland
GNG Support Team | gng.aero-nav.com
ES Plugin Developer | CCAMS

Link to comment
Share on other sites

9 hours ago, Jonas Kuster said:

Looking at your examples, I assume the format is DD.dd (so just a short version of the Decimal format, with decimal places instead actual minute values (0-60)). Happy to support you there. So I've added this format to the selection. Maybe do some tests to verify if the outputs are as expected.

Great! I just left home for another working tour, will be back home next week to test it!

Link to comment
Share on other sites

9 hours ago, Jonas Kuster said:

Once again many thanks for using this tool and reporting the issues you have. Sorry it took a little longer to share the next update. But I had to rework different parts of the code to ensure compatibility with the latest script engine version of the web server. I used this opportunity to check the feedback I received after the previous update.

 

Looking at your examples, I assume the format is DD.dd (so just a short version of the Decimal format, with decimal places instead actual minute values (0-60)). Happy to support you there. So I've added this format to the selection. Maybe do some tests to verify if the outputs are as expected.

 

I had to do a major rework of all the code dealing with arcs. And beside other issues, this should now work again. Btw, the short version to draw a circle like this with my tool is S033.21.22.680 W056.29.45.964/30.

 

At this time, there is no quick way to implement this functionality. But I'll work towards it while improving and fixing other parts of the code.

  • I see some longer lines in our screenshot. Is this intentional? Or should a line with 3+ points continuously use the same distances between dashes?
  • How about arcs? Are dashes needed there as well? If so, should the tick length be based on distance (as well) or angle?

 

Sorry, the long ones were a newly "added" bug from my side while trying to mitigate the 60 seconds issue. Both examples now work as expected. And I have changed the handling for the 60s issue, should occur even less now, if not vanish at all. But who knows what other bugs I may have implemented. So always thankful for your reports right away.

Thanks!!!!!!!!!!

HONGYE ZHANG

C3 Senior Controller

VATPRC6A Assistant Event Coordinator/ATC Mentor

VATSIM People's Republic of China Division (VATPRC)

i87ubHr1P7c0Xbn4EBpRNaOribXP64wQjkpWyvqWFWnpx9GmEw8hqf9J_a1Zl55GoE_-qMF-MZqxc1IYo6SDn2ZmWTb0RKwBqlbP2Ti-PzSLk6Zeewd4xoG7DUUzCBny1udKNIZKxO2j6Tt3rw www.vatprc.net

oi82vruYklUls37Lm5VNEbnYwCppzyDM9S_8nzMJbRlt2Gpej2MlCbEF7z0yu3Yvd4bk5KlY8F5SFXPja9OOtYD2A-xLrjyFpvHHR-PqyTRxf6AJrSi9fcUWLw36QTHWZEXEnsDdKNm3wBueXg [email protected]

AlbYFNTaIlz0AIRymg0ACPn7klKy9ljFLWDAS2vF_PNgSUVsb_e3w4jJCpocDMOmJPYoGaTLUQt4pDOTZqOO7bXB4cCfjXqzzin7wcREYU5eE3h7_RQpf3oQ9s9M6akISCQrI3qVnFLLDseRzQ

ZgcL03YkKMug-N5K_ycltMh6YCDuILDEP5nkVxX4nvVKkFxuU2AFvBUuW4QDP5CO7nhO-OaoErw_EWIm9zkV47iedAyC8enhOTfiNa2X8O1SSpAlx5suFns55-gHDMC3jVmKBC9dTEDGLIkQOg


 
Link to comment
Share on other sites

Posted (edited)

@Jonas Kuster

Wondering if it's possible to add vatSys as an output option, it would be greatly appreciated. 

Quote

vatSys accepts coordinates in any valid ISO 6709 format.

Latitude and Longitude in Degrees:
    ±DD.DDDD±DDD.DDDD         (eg +12.345-098.765)
Latitude and Longitude in Degrees and Minutes:
    ±DDMM.MMMM±DDDMM.MMMM     (eg +1234.56-09854.321)
Latitude and Longitude in Degrees, Minutes and Seconds:
    ±DDMMSS.SSSS±DDDMMSS.SSSS (eg +123456.7-0985432.1)
Latitude, Longitude (in Degrees) and Altitude:
    ±DD.DDDD±DDD.DDDD±AAA.AAA         (eg +12.345-098.765+15.9)
Latitude, Longitude (in Degrees and Minutes) and Altitude:
    ±DDMM.MMMM±DDDMM.MMMM±AAA.AAA     (eg +1234.56-09854.321+15.9)
Latitude, Longitude (in Degrees, Minutes and Seconds) and Altitude:
    ±DDMMSS.SSSS±DDDMMSS.SSSS±AAA.AAA (eg +123456.7-0985432.1+15.9)
Edited by Mubarak Ahmed

Mubarak Ahmed
Operations Director, ATC Department
Middle East & North Africa

[email protected]
https://vatsim.me


mailservice?url=https%3A%2F%2Fi.imgur.com%2FAc1df4L.png&proxy=yes&key=f35f154c81209d28a1c2f860d75b00dc

 

Link to comment
Share on other sites

On 6/9/2022 at 11:55 PM, Mubarak Ahmed said:

@Jonas Kuster

Wondering if it's possible to add vatSys as an output option, it would be greatly appreciated. 

Sure. Are all 3 variants needed or is there a prefered one? Otherwise I would just go for the degrees only (best use of processing power and minimum processing time).

  • Like 1

Jonas Kuster
Network Supervisor
Leader Operation vACC Switzerland | vacc.ch @vaccswitzerland
GNG Support Team | gng.aero-nav.com
ES Plugin Developer | CCAMS

Link to comment
Share on other sites

17 minutes ago, Jonas Kuster said:

Sure. Are all 3 variants needed or is there a prefered one? Otherwise I would just go for the degrees only (best use of processing power and minimum processing time).

Thank you, 

Latitude and Longitude in Degrees:
    ±DD.DDDD±DDD.DDDD         (eg +12.345-098.765)

and 

Latitude, Longitude (in Degrees) and Altitude:
    ±DD.DDDD±DDD.DDDD±AAA.AAA         (eg +12.345-098.765+15.9)

Are the preferred format, also vatSys uses .XML formats it would be nice if the output can follow the structure below for example.  

Quote
 <Area>
-343000.000+1745000.000/
-350000.000+1745000.000/
-350000.000+1741500.000/
-343000.000+1741500.000/
<Area>

Thank you.

Edited by Mubarak Ahmed

Mubarak Ahmed
Operations Director, ATC Department
Middle East & North Africa

[email protected]
https://vatsim.me


mailservice?url=https%3A%2F%2Fi.imgur.com%2FAc1df4L.png&proxy=yes&key=f35f154c81209d28a1c2f860d75b00dc

 

Link to comment
Share on other sites

17 hours ago, Mubarak Ahmed said:

Thank you, 

Latitude and Longitude in Degrees:
    ±DD.DDDD±DDD.DDDD         (eg +12.345-098.765)

and 

Latitude, Longitude (in Degrees) and Altitude:
    ±DD.DDDD±DDD.DDDD±AAA.AAA         (eg +12.345-098.765+15.9)

Are the preferred format, also vatSys uses .XML formats it would be nice if the output can follow the structure below for example.  

Thank you.

I've added a new option for the output format. Obviously as my tool doesn't work with altitude values, I've skipped the the variant with altitude.

Regarding the xml output, the documentation of vatSys is not yet conclusive to me. While the description of Line and Infill element says, it's children are <Point> elements, your example as well as the default profiles of vatSys says different. And in fact, their content is just the sequence of coordinates without any further structure. Additionally, my tool does not specify if an output is to be used as a line or a polygon, hence it's not clear if the xml export should use Line or Infill elements. Maybe if we elaborate further on this and once the details are clear, I can implement another type of download format.

  • Like 1
  • Thanks 1

Jonas Kuster
Network Supervisor
Leader Operation vACC Switzerland | vacc.ch @vaccswitzerland
GNG Support Team | gng.aero-nav.com
ES Plugin Developer | CCAMS

Link to comment
Share on other sites

23 minutes ago, Jonas Kuster said:

Where exactly? If you enter AIP extracts, the unit is already considered.

Generally. In AIP is A circle with radius of 50km centered at ARP or

N213125 E1004357
a clockwised arc with radius of 50km centered at Xishuangbanna ARP
N214143 E1010834 National Boundaries N213125 E1004357

Edited by Hongye Rudi Zhang

HONGYE ZHANG

C3 Senior Controller

VATPRC6A Assistant Event Coordinator/ATC Mentor

VATSIM People's Republic of China Division (VATPRC)

i87ubHr1P7c0Xbn4EBpRNaOribXP64wQjkpWyvqWFWnpx9GmEw8hqf9J_a1Zl55GoE_-qMF-MZqxc1IYo6SDn2ZmWTb0RKwBqlbP2Ti-PzSLk6Zeewd4xoG7DUUzCBny1udKNIZKxO2j6Tt3rw www.vatprc.net

oi82vruYklUls37Lm5VNEbnYwCppzyDM9S_8nzMJbRlt2Gpej2MlCbEF7z0yu3Yvd4bk5KlY8F5SFXPja9OOtYD2A-xLrjyFpvHHR-PqyTRxf6AJrSi9fcUWLw36QTHWZEXEnsDdKNm3wBueXg [email protected]

AlbYFNTaIlz0AIRymg0ACPn7klKy9ljFLWDAS2vF_PNgSUVsb_e3w4jJCpocDMOmJPYoGaTLUQt4pDOTZqOO7bXB4cCfjXqzzin7wcREYU5eE3h7_RQpf3oQ9s9M6akISCQrI3qVnFLLDseRzQ

ZgcL03YkKMug-N5K_ycltMh6YCDuILDEP5nkVxX4nvVKkFxuU2AFvBUuW4QDP5CO7nhO-OaoErw_EWIm9zkV47iedAyC8enhOTfiNa2X8O1SSpAlx5suFns55-gHDMC3jVmKBC9dTEDGLIkQOg


 
Link to comment
Share on other sites

Posted (edited)

 

3 minutes ago, Hongye Rudi Zhang said:

Generally. In AIP is A circle with radius of 50km centered at ARP

As mentioned before, this is already possible. So as an example you can enter: Circle 50 km centered on N400300 E1161938. And it will draw a circle of 50 km around the provided coordinate.

Edited by Jonas Kuster

Jonas Kuster
Network Supervisor
Leader Operation vACC Switzerland | vacc.ch @vaccswitzerland
GNG Support Team | gng.aero-nav.com
ES Plugin Developer | CCAMS

Link to comment
Share on other sites

9 minutes ago, Jonas Kuster said:

As mentioned before, this is already possible. So as an example you can enter: Circle 50 km centered on N400300 E1161938. And it will draw a circle of 50 km around the provided coordinate.

Edited 8 minutes ago by Jonas Kuster

Ah I see! Thanks!

HONGYE ZHANG

C3 Senior Controller

VATPRC6A Assistant Event Coordinator/ATC Mentor

VATSIM People's Republic of China Division (VATPRC)

i87ubHr1P7c0Xbn4EBpRNaOribXP64wQjkpWyvqWFWnpx9GmEw8hqf9J_a1Zl55GoE_-qMF-MZqxc1IYo6SDn2ZmWTb0RKwBqlbP2Ti-PzSLk6Zeewd4xoG7DUUzCBny1udKNIZKxO2j6Tt3rw www.vatprc.net

oi82vruYklUls37Lm5VNEbnYwCppzyDM9S_8nzMJbRlt2Gpej2MlCbEF7z0yu3Yvd4bk5KlY8F5SFXPja9OOtYD2A-xLrjyFpvHHR-PqyTRxf6AJrSi9fcUWLw36QTHWZEXEnsDdKNm3wBueXg [email protected]

AlbYFNTaIlz0AIRymg0ACPn7klKy9ljFLWDAS2vF_PNgSUVsb_e3w4jJCpocDMOmJPYoGaTLUQt4pDOTZqOO7bXB4cCfjXqzzin7wcREYU5eE3h7_RQpf3oQ9s9M6akISCQrI3qVnFLLDseRzQ

ZgcL03YkKMug-N5K_ycltMh6YCDuILDEP5nkVxX4nvVKkFxuU2AFvBUuW4QDP5CO7nhO-OaoErw_EWIm9zkV47iedAyC8enhOTfiNa2X8O1SSpAlx5suFns55-gHDMC3jVmKBC9dTEDGLIkQOg


 
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
 Share

×
×
  • Create New...