nhasan / FlightIntel

FlightIntel
GNU General Public License v3.0
17 stars 8 forks source link

afd link incorrect #20

Closed tedcooper closed 12 years ago

tedcooper commented 12 years ago

getting afd entry for khwd brings up afd page before hayward and not for hayward

nhasan commented 12 years ago

Looks like a bug in the FAA metadata file that I am using. I can't do much about it I am afraid. Thanks for reporting.

tedcooper commented 12 years ago

What about a failsafe like searching for airport identifier like KHWD and if not found trying the next page.

nhasan commented 12 years ago

What you are proposing is not possible technically. This is not how the FAA provides the metadata for the PDF files. Due to this the app does not know the page numbers at all. Even if it did, it cannot search inside PDF files.

On Tue, Dec 4, 2012 at 9:30 PM, tedcooper notifications@github.com wrote:

What about a failsafe like searching for airport identifier like KHWD and if not found trying the next page.

— Reply to this email directly or view it on GitHubhttps://github.com/nhasan/Airports/issues/20#issuecomment-11025746.

Nadeem Hasan FlightIntel for Pilots on Android

tedcooper commented 12 years ago

do you think maybe a grep could do it? actually it's on page 119.

tedcooper commented 12 years ago

This page has a link to a page with a form on it that searches and delivers a pdf with the correct page: http://aeronav.faa.gov/index.asp?xml=aeronav/applications/d_afd

Perhaps you could consume that page but note well that the linked to page changes when the new version comes out.

Also the page above says: "Please report any application errors to: AeroNavWebmaster@faa.gov ."

nhasan commented 12 years ago

I already know about that website. I am using the metadata that is provided by FAA which possibly also drives that website. Looks like they fixed the data after I downloaded it to provide the database. At this point I am not going to worry about this.

On Tue, Dec 4, 2012 at 10:39 PM, tedcooper notifications@github.com wrote:

This page has a link to a page with a form on it that searches and delivers a pdf with the correct page: http://aeronav.faa.gov/index.asp?xml=aeronav/applications/d_afd

Perhaps you could consume that page but note well that the linked to page changes when the new version comes out.

Also the page above says: "Please report any application errors to: AeroNavWebmaster@faa.gov ."

— Reply to this email directly or view it on GitHubhttps://github.com/nhasan/Airports/issues/20#issuecomment-11027529.

Nadeem Hasan FlightIntel for Pilots on Android

nhasan commented 12 years ago

Ok...so I have regenerated the d-AFD database using the latest version of the metadata for this cycle. Looks like this issue has been fixed. Delete all your data and re-download and let me know if it works for you.

On Wed, Dec 5, 2012 at 6:18 AM, Nadeem Hasan nhasan@nadmm.com wrote:

I already know about that website. I am using the metadata that is provided by FAA which possibly also drives that website. Looks like they fixed the data after I downloaded it to provide the database. At this point I am not going to worry about this.

On Tue, Dec 4, 2012 at 10:39 PM, tedcooper notifications@github.comwrote:

This page has a link to a page with a form on it that searches and delivers a pdf with the correct page: http://aeronav.faa.gov/index.asp?xml=aeronav/applications/d_afd

Perhaps you could consume that page but note well that the linked to page changes when the new version comes out.

Also the page above says: "Please report any application errors to: AeroNavWebmaster@faa.gov ."

— Reply to this email directly or view it on GitHubhttps://github.com/nhasan/Airports/issues/20#issuecomment-11027529.

Nadeem Hasan FlightIntel for Pilots on Android

Nadeem Hasan FlightIntel for Pilots on Android

tedcooper commented 12 years ago

Works correctly now - pulls up the AFD page with KHWD.