@fboes/aerofly-data 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/README.md +28 -19
- package/data/aircraft-liveries.json +154 -43
- package/data/aircraft-liveries.json.d.ts +6 -2
- package/data/aircraft-livery-select-optgroup.html +705 -0
- package/data/aircraft.json +129 -43
- package/data/aircraft.md +48 -45
- package/data/airport-coordinates.json +924 -916
- package/data/airport-list.json +3 -0
- package/data/airports.geojson +3051 -2996
- package/dist/index.html +9 -4
- package/dist/main.js +23 -11
- package/dist/styles.css +6 -0
- package/get-aircraft.js +26 -10
- package/get-airports.js +10 -11
- package/package.json +1 -1
- package/src/aircraft-functions.js +30 -1
- package/src/airport-functions.js +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.5.0] - 2026-03-09
|
|
9
|
+
|
|
10
|
+
- Changed testing to standard Node.js testing suite
|
|
11
|
+
- Added fuel and payload mass to aircraft
|
|
12
|
+
|
|
8
13
|
## [1.4.0] - 2025-12-09
|
|
9
14
|
|
|
10
15
|
- Added new Aerofly FS4 airports after update
|
package/README.md
CHANGED
|
@@ -10,30 +10,39 @@ It also contains [airport and navigation aid icons](./icons/) suitable for maps.
|
|
|
10
10
|
|
|
11
11
|
The `data` directory contains the following files:
|
|
12
12
|
|
|
13
|
-
| File
|
|
14
|
-
|
|
|
15
|
-
| [`aircraft-liveries.json`](./data/aircraft-liveries.json)
|
|
16
|
-
| [`aircraft-select-optgroup.html`](./data/aircraft-select-optgroup.html)
|
|
17
|
-
| [`aircraft-select.html`](./data/aircraft-select.html)
|
|
18
|
-
| [`aircraft.
|
|
19
|
-
| [`aircraft.
|
|
20
|
-
| [`
|
|
21
|
-
| [`
|
|
22
|
-
| [`
|
|
23
|
-
| [`airports.
|
|
13
|
+
| File | Description |
|
|
14
|
+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
|
15
|
+
| [`aircraft-liveries.json`](./data/aircraft-liveries.json) | JSON file containing detailed information about all aircraft, including liveries. |
|
|
16
|
+
| [`aircraft-select-optgroup.html`](./data/aircraft-select-optgroup.html) | HTML snippet file containing all aircraft, grouped by category |
|
|
17
|
+
| [`aircraft-livery-select-optgroup.html`](./data/aircraft-livery-select-optgroup.html) | HTML snippet file containing all liveries, grouped by aircraft |
|
|
18
|
+
| [`aircraft-select.html`](./data/aircraft-select.html) | HTML snippet file containing all aircraft |
|
|
19
|
+
| [`aircraft.json`](./data/aircraft.json) | JSON file containing abbreviated information about all aircraft (without liveries). |
|
|
20
|
+
| [`aircraft.md`](./data/aircraft.md) | Markdown file containing abbreviated information about all aircraft (without liveries). |
|
|
21
|
+
| [`airport-coordinates.json`](./data/airport-coordinates.json) | JSON file containing an array of all airports with ICAO code, name as well as WGS84 coordinates. |
|
|
22
|
+
| [`airport-list.json`](./data/airport-list.json) | JSON file containing an array of all ICAO codes. |
|
|
23
|
+
| [`airports-custom.md`](./data/airports-custom.md) | Markdown file containing all airports supplied by community |
|
|
24
|
+
| [`airports-unmatched.md`](./data/airports-unmatched.md) | Markdown file containing all airports not contained in `aiports.geojson` |
|
|
25
|
+
| [`airports.geojson`](./data/airports.geojson) | GeoJSON file containing the location of all airports in Aerofly FS 4. |
|
|
26
|
+
|
|
27
|
+
Also be aware that these files can be called as a very simple REST API using static hosting at https://fboes.github.io/aerofly-data/.
|
|
24
28
|
|
|
25
29
|
## Building
|
|
26
30
|
|
|
27
31
|
To generate a new list of all airports available in Aerofly FS 4:
|
|
28
32
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
```bash
|
|
34
|
+
# 1. Install this project
|
|
35
|
+
npm install
|
|
36
|
+
|
|
37
|
+
# 2. Download a list of all airports from https://ourairports.com/data/ to tmp/airports.csv.
|
|
38
|
+
npm run fetch-csv
|
|
39
|
+
|
|
40
|
+
# 3. Generate airport output files via:
|
|
41
|
+
node ./get-airports.js 'C:\SteamLibrary\steamapps\common\Aerofly FS 4 Flight Simulator\scenery\airports_db'
|
|
42
|
+
|
|
43
|
+
# 4. Generate aircraft output files via:
|
|
44
|
+
node ./get-aircraft.js 'C:\SteamLibrary\steamapps\common\Aerofly FS 4 Flight Simulator\aircraft'
|
|
45
|
+
```
|
|
37
46
|
|
|
38
47
|
## Status
|
|
39
48
|
|