Jump to content

AirCharts API


Daniel Hawton
 Share

Recommended Posts

Do you want to provide charts to your end users? Do you run a non-profit, free access website, mobile or desktop application? Then this is for you!

 

AirCharts has finished and opened its new API to allow webmasters around VATSIM to obtain information and latest charts that are supported (presently 4537 airports around the globe with plans to grow). It supports and outputs in XML and JSON, two of the most accepted data interchange formats that are supported in virtually every major language.

 

More information, including how to use it, can be found here: http://www.aircharts.org/api

 

We will not provide support for implementation or usage outside of requests for information, bug reports, and other errors pertaining to AirCharts' information and services.

Link to comment
Share on other sites

Thanks alot, Daniel, this is great!

 

One thing; it looks like some charts are missing at some Norwegian airports. If I search for ENVA or ENBR there are no SID or STAR charts available. They are listed on the Norwegian AIP: https://www.ippc.no/norway_aip/current/aip/ad/enbr/enbr_en.html Is this something you could look at?

 

Thanks for the report. I have tweaked the spider and those charts appear to be inserted. When I wrote the spider I only validated 2 of the airports, guess that wasn't enough.

Link to comment
Share on other sites

Looking good! Thanks!

 

Edit:

Found a couple of other things;

- If you search for "ENVA" it looks like it's having some trouble with special characters. There is one map listed as "Area Chart - Værnes/Ãrland/Røros TMA", and in the XML the "name" is empty for this node.

- Also; Search for "ENNO" and open "Area Chart - Oslo/Farris TMA". That gives me this link: "https://www.ippc.no/norway_aip/current/aip/ad/enno/....EN_ENR_6_3-1_en.pdf". For some reason the link has been shortened with ".....". The same chart is available if you search for "ENTO", and the link there is fine: "https://www.ippc.no/norway_aip/current/aip/EN_ENR_6_3-1_en.pdf"

Link to comment
Share on other sites

Using Internet Explorer, most docomeents are treated and opened as PDFs inside the browser, but some docomeents (especially those from UK) are added to the download queue as unknown file types. However, they can be opened in Adobe Reader later. It works fine in Google Chrome.

 

One example is this aerodrome chart at EGKK:

EGKK: http://www.aircharts.org/data/view.php?id=57e1b2d1-b85d-5857-b58b-3871af5a977d

 

Any idea why? The reason I'm asking is that my application is using the default web browser (IE-based) in .net/C# to display your charts. It looks like the same problem applies to your Leroy program.

Link to comment
Share on other sites

 

One oddity I noticed lies in the HTTP response headers sent by the webserver:

 

Content-Type: application.pdf

Unless I missed some new RFC, shouldn't that be "application/pdf" ?

 

EDIT: Other charts, such as this one, are reporting correct content-types (i.e. with a "/" rather than a ".").

Link to comment
Share on other sites

 

One oddity I noticed lies in the HTTP response headers sent by the webserver:

 

Content-Type: application.pdf

Unless I missed some new RFC, shouldn't that be "application/pdf" ?

 

EDIT: Other charts, such as this one, are reporting correct content-types (i.e. with a "/" rather than a ".").

 

The first link is hosted on Amazon S3, not sure why Amazon isn't sending the correct MIME and will look into it.

Link to comment
Share on other sites

  • 1 month later...

Any chance that you could add a change notice flag (at least for FAA charts)? For instance:

 

<chart id="b64374ac-cab5-517c-9f2f-2207eb6013e1" type="General" name="AIRPORT DIAGRAM" change="C">
http://www.aircharts.org/data/view.php?id=b64374ac-cab5-517c-9f2f-2207eb6013e1
</chart>

The change attribute could have one of four values: A, C, D and NULL.

 

A=Added, C=Changed, D=Deleted and NULL=Unchanged.

Controller (C3), Los Angeles ARTCC
Developer: xPilot, vATIS

Link to comment
Share on other sites

Any chance that you could add a change notice flag (at least for FAA charts)? For instance:

 

<chart id="b64374ac-cab5-517c-9f2f-2207eb6013e1" type="General" name="AIRPORT DIAGRAM" change="C">
http://www.aircharts.org/data/view.php?id=b64374ac-cab5-517c-9f2f-2207eb6013e1
</chart>

The change attribute could have one of four values: A, C, D and NULL.

 

A=Added, C=Changed, D=Deleted and NULL=Unchanged.

 

I'll look into adding this. Dev is running a bit behind due to my separation from the Navy and setting up my move from Japan back to the US. But I'll get her in.

Link to comment
Share on other sites

  • 1 month later...
Is there a way to suggest a new chart for addition using th API? If not, is there a way to suggest charts to be added to the DB? I have some that are not in aircharts and I can't find a way to contact the webmasters.

 

Send me a message. So long as it doesn't violate copyright laws and there is a way to keep it updated automatically, it'll get included.

Link to comment
Share on other sites

  • 1 year later...

Hi Daniel,

 

I just wanted to let you know that your Australian charts are out of date. I'm not sure how you source the charts, but if you index them from this page: http://www.airservicesaustralia.com/aip/pending/dap/AeroProcChartsTOC.htm you need to make sure you're not using the old DAPS146 link as they have now changed to DAPS147. The above link will change as the realworld changes are made however there was an old link online which forced the DAPS146 to be used instead of the generic one.

 

Can you please look into this as the VATPAC pilots are currently only able to search the out-of-date charts on our website.

 

Thanks

Zach Biesse-Fitton
VATSIM Developer and Supervisor | VATPAC Division Director

vatSys Development Team

Link to comment
Share on other sites

  • 6 months later...
  • 3 weeks later...
  • 2 years later...
  • 2 weeks later...

Hi Yanick,

 

AirCharts was a closed source project and the decision was taken by myself and Dan to discontinue the service.

 

As of right now there are no plans to reintroduce the service although I'm sure that someone will be able to point you in the direction of a new replacement service.

 

Many thanks

Rahul

Rahul Parkar

"On second thoughts Nappa, catch it, catch it with your teeth" -- Vegeta

Professional Nerd. (Professionally not professional)

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...