Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drnic/faa-nasr
Tools to fetch, convert and compare the FAA's NASR data files
https://github.com/drnic/faa-nasr
Last synced: 23 days ago
JSON representation
Tools to fetch, convert and compare the FAA's NASR data files
- Host: GitHub
- URL: https://github.com/drnic/faa-nasr
- Owner: drnic
- Created: 2014-11-20T21:39:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-20T23:23:04.000Z (about 10 years ago)
- Last Synced: 2023-04-10T17:09:47.645Z (over 1 year ago)
- Language: Ruby
- Homepage: https://nfdc.faa.gov/xwiki/bin/view/NFDC/56+Day+NASR+Subscription
- Size: 141 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
FAA NASR
========This repository includes some tools to fetch, convert and compare the FAA's NASR data files
https://nfdc.faa.gov/xwiki/bin/view/NFDC/56+Day+NASR+Subscription
Outputs:
- https://gist.github.com/drnic/76c8545a7797cb3dabe1 - Airspace changes since September 18, 2014 (comparing last two NASR subscriptions)
Requirements
------------- Ruby 1.9.3+
- Node.js 0.10+Setup
-----```
bundle install
npm install -g shapefile
npm install -g topojson
```To download the latest NASR data set, and convert NASR `.shp` Shapefiles into JSON:
```
rake
```This command will only take the time to download the 80+ Mb NASR subscription data if you haven't already downloaded it into the current folder.
Tasks
-----If you have the latest subscription and the previous subscription, you can determine if any of the Airspace Classes have changed (Bravo, Charlie and Delta):
```
$ rake shapefile:diff
Class B: no changesClass C: no changes
Class D, additional:
* KS, WICHITA, WICHITA, MCCONNELL AFB CLASS D
Class D, updated:
* AK, ANCHORAGE, ANCHORAGE, BRYANT AAF CLASS D
* AK, BETHEL, BETHEL CLASS D
* AK, BETHEL, BETHEL CLASS D
* AK, JUNEAU, JUNEAU CLASS D
...
```To share the diff via GitHub Gist:
```
brew install gist
gist --login
rake shapefile:diff | gist -f airspace-changes.md -f "Airspace changes since CHANGEDATE (comparing last two NASR subscriptions from https://nfdc.faa.gov/xwiki/bin/view/NFDC/56+Day+NASR+Subscription)"
```Then update the URL at top of README.