Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT REQ.] - AIRCRAFT DATA #39

Open
KSanders7070 opened this issue Mar 28, 2022 · 5 comments
Open

[FEAT REQ.] - AIRCRAFT DATA #39

KSanders7070 opened this issue Mar 28, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@KSanders7070
Copy link
Collaborator

To get an AIRCRAFTSPECS.xml created along with the Custom .ACINFO@@@ commands:

“if you go to the ICAO type code search form, then open the developer tools and go to the Network tab, you see a list of all data that the page has downloaded, and one of the entries in that list is a JSON file containing all the ICAO8643 data”
-a source that I know

@KSanders7070 KSanders7070 added the enhancement New feature or request label Mar 28, 2022
@Nikolai558
Copy link
Owner

Nikolai558 commented Apr 2, 2022

CURL Command:

curl "https://www4.icao.int/doc8643/External/AircraftTypes" -X "POST" -H "Connection: keep-alive" -H "Content-Length: 0" -H "Pragma: no-cache" -H "Cache-Control: no-cache"

C# Http Request:

var HttpClient client = new HttpClient();

var url = "https://www4.icao.int/doc8643/External/AircraftTypes";
var values = new Dictionary<string, string>
{
        {"Connection", "keep-alive" },
        {"Content-Length", "0" },
        {"Pragma", "no-cache" },
        {"Cache-Control", "no-cache" }
};

var content = new FormUrlEncodedContent(values);
var response = await client.PostAsync(url, content);

var responseStringJson = await response.Content.ReadAsStringAsync();

@KSanders7070
Copy link
Collaborator Author

Something to consider... there are multiple lines of data for a single designator... for example: B738 has three different info groups. How will we combine all of that data in an automated way?

@Nikolai558
Copy link
Owner

CURRENT IN ZLC ALIAS:
 .ACINFOC172 .MSG FAA_ISR *** [CODE] C172 ::: [MAKE] CESSNA AIRCRAFT COMPANY ::: [MODEL] 172, P172, R172, Skyhawk, Hawk XP, Cutlass (T-41, Mescalero) ::: [ENGINE] 1/PistonProp ::: [WEIGHT] Small ::: [C/D] 600/1000 ::: [SRS] 1

OUTPUT FROM FE-BUDDY: 
.ACINFOC172 .MSG FAA_ISR *** [CODE] C172 ::: [MAKE] REIMS, FMA, CESSNA, AVIONES COLOMBIA ::: [MODEL] Skyhawk, Reims Rocket, Hawk XP, FR172 Reims Rocket, FR172 Hawk XP, FP172, F172 Skyhawk, F172, P-172, Skyhawk Powermatic, Skyhawk, R172 Hawk XP, R172, P172 Skyhawk Powermatic, Mescalero, Hawk XP, Cutlass, T-41 Mescalero, 172 Skyhawk, 172 Cutlass, 172 ::: [ENGINE] 1/Piston ::: [WEIGHT] Light ::: [C/D] ???/??? ::: [SRS] ???

EXAMPLE FROM PICTURE BELOW: 
.ACINFOTR55 .MSG FAA_ISR *** [CODE] TR55 ::: [MAKE] 3XTRIM ::: [MODEL] Navigator 600, 3X-LS Navigator 600, 3X-55 Trener, Trener  , 550 Trener ::: [ENGINE] 1/Piston ::: [WEIGHT] Light ::: [C/D] ???/??? ::: [SRS] ???

This has been added, however, I don't know if I can include the [C/D] or [SRS] at least not solely from the data I am accessing "https://www4.icao.int/doc8643/External/AircraftTypes". (See picture below)

image

@Nikolai558 Nikolai558 added the question Further information is requested label Apr 9, 2022
@Nikolai558
Copy link
Owner

Oh, I do not create an XML file for this. I will have to implement the xml file after we figure out the additional stuff.

@KSanders7070
Copy link
Collaborator Author

Climb and descent rates resource:
https://contentzone.eurocontrol.int/aircraftperformance/default.aspx?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
Status: New Features
Development

No branches or pull requests

2 participants