@fboes/aerofly-data 1.1.0 → 1.1.1
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 +19 -0
- package/README.md +11 -10
- package/dist/index.html +8 -3
- package/icons/README.md +25 -0
- package/icons/af-large_airport.svg +1 -2
- package/package.json +1 -1
- package/src/aircraft-functions.js +2 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
- Added `CHANGELOG.md`
|
|
11
|
+
- Added directory listing for `/icons`
|
|
12
|
+
|
|
13
|
+
## [1.1.0] - 2025-05-20
|
|
14
|
+
|
|
15
|
+
- Added more data artifacts
|
|
16
|
+
|
|
17
|
+
## [1.0.0] - 2025-05-18
|
|
18
|
+
|
|
19
|
+
- Initial release
|
package/README.md
CHANGED
|
@@ -2,22 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
This project contains data sets for airports and aircraft present in [Aerofly FS 4](https://www.aerofly.com/). This airport data is based on data from [OurAirports](https://ourairports.com/).
|
|
4
4
|
|
|
5
|
+
There is also a [ICAO code checker](https://fboes.github.io/aerofly-data/dist/), which checks if a given ICAO airport code exists in Aerofly FS 4.
|
|
6
|
+
|
|
5
7
|
It also contains [airport and navigation aid icons](./icons/) suitable for maps.
|
|
6
8
|
|
|
7
9
|
## Enclosed files
|
|
8
10
|
|
|
9
11
|
The `data` directory contains the following files:
|
|
10
12
|
|
|
11
|
-
| File
|
|
12
|
-
|
|
|
13
|
-
| [`aircraft-liveries.json`](./data/aircraft-liveries.json)
|
|
14
|
-
| [`aircraft-select.html`](./data/aircraft-select.html)
|
|
15
|
-
| [`aircraft.
|
|
16
|
-
| [`aircraft.
|
|
17
|
-
| [`
|
|
18
|
-
| [`
|
|
19
|
-
|
|
20
|
-
There is also a [ICAO code checker](https://fboes.github.io/aerofly-data/dist/), which checks if a given ICAO airport code exists in Aerofly FS 4.
|
|
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, sorted by category |
|
|
17
|
+
| [`aircraft-select.html`](./data/aircraft-select.html) | HTML snippet file containing all aircraft |
|
|
18
|
+
| [`aircraft.json`](./data/aircraft.json) | JSON file containing abbreviated information about all aircraft (without liveries). |
|
|
19
|
+
| [`aircraft.md`](./data/aircraft.md) | Markdown file containing abbreviated information about all aircraft (without liveries). |
|
|
20
|
+
| [`airport-list.json`](./data/airport-list.json) | JSON file containing an array of all ICAO codes. |
|
|
21
|
+
| [`airports.geojson`](./data/airports.geojson) | GeoJSON file containing the location of all airports in Aerofly FS 4. |
|
|
21
22
|
|
|
22
23
|
## Building
|
|
23
24
|
|
package/dist/index.html
CHANGED
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
padding: 0;
|
|
18
18
|
}
|
|
19
19
|
body {
|
|
20
|
-
font-family:
|
|
20
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
|
|
21
|
+
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
22
|
+
"Segoe UI Symbol";
|
|
23
|
+
line-height: 1.5;
|
|
21
24
|
margin: 20px;
|
|
22
25
|
display: flex;
|
|
23
26
|
justify-content: center;
|
|
@@ -57,7 +60,8 @@
|
|
|
57
60
|
#status {
|
|
58
61
|
font-size: 1.25em;
|
|
59
62
|
}
|
|
60
|
-
#status2,
|
|
63
|
+
#status2,
|
|
64
|
+
p {
|
|
61
65
|
margin-top: 1em;
|
|
62
66
|
}
|
|
63
67
|
</style>
|
|
@@ -89,10 +93,11 @@
|
|
|
89
93
|
<span
|
|
90
94
|
id="status"
|
|
91
95
|
title="Enter an ICAO code to check if the airport is present in Aerofly FS 4"
|
|
96
|
+
aria-hidden="true"
|
|
92
97
|
>❓</span
|
|
93
98
|
>
|
|
94
99
|
</div>
|
|
95
|
-
<div id="status2">
|
|
100
|
+
<div id="status2" role="status" aria-live="polite">
|
|
96
101
|
Enter an ICAO code to check if the airport is present in Aerofly FS 4
|
|
97
102
|
</div>
|
|
98
103
|
<p>Data source: <a href="..">Aerofly FS 4 data repository</a>.</p>
|
package/icons/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Aerofly Data Icons
|
|
2
|
+
|
|
3
|
+
This directory contains SVG icons used in the Aerofly FS data tools. Below is a list of all icons and their purposes:
|
|
4
|
+
|
|
5
|
+
| Icon | File Name | Purpose |
|
|
6
|
+
|:-----:|:----------|:--------|
|
|
7
|
+
|  | `af-airfield.svg` | Generic airfield |
|
|
8
|
+
|  | `af-closed.svg` | Closed airport or airfield |
|
|
9
|
+
|  | `af-heliport.svg` | Heliport |
|
|
10
|
+
|  | `af-large_airbase.svg` | Large airbase |
|
|
11
|
+
|  | `af-large_airport.svg` | Large airport |
|
|
12
|
+
|  | `af-medium_airbase.svg` | Medium airbase |
|
|
13
|
+
|  | `af-medium_airport.svg` | Medium airport |
|
|
14
|
+
|  | `af-small_airbase.svg` | Small airbase |
|
|
15
|
+
|  | `af-small_airport.svg` | Small airport |
|
|
16
|
+
|  | `navaid-fix.svg` | Navigation fix |
|
|
17
|
+
|  | `navaid-ndb.svg` | Non-directional beacon (NDB) |
|
|
18
|
+
|  | `navaid-vor.svg` | VHF Omnidirectional Range (VOR) |
|
|
19
|
+
|  | `navaid-waypoint.svg` | Waypoint |
|
|
20
|
+
|
|
21
|
+
Feel free to add or update icons as needed for the project.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
Back to [main documentation](../README.md)
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
-
<svg width="15" height="15" version="1.1" viewBox="0 0 3.9687 3.9688" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><rect width="3.9688" height="3.9687" ry=".52917" fill="#fff" fill-rule="evenodd" stroke-width=".26458"/><rect x=".26458" y=".26458" width="3.4396" height="3.4396" ry=".26458" fill="#5f5fd3" fill-rule="evenodd" stroke-width=".26458"/><path d="m3.4396 1.8521v0.32632l-1.2612-0.19403-0.06174 0.92604 0.54681 0.33514v0.19403l-0.6791-0.13229-0.6791 0.13229v-0.19403l0.54681-0.33514-0.06174-0.92604-1.2612 0.19403v-0.32632l1.2612-0.4498v-0.58208s0-0.29104 0.19403-0.29104 0.19403 0.29104 0.19403 0.29104v0.54681z" fill="#f9f9f9" stroke-width=".19403"/></svg>
|
|
4
|
-
p
|
|
3
|
+
<svg width="15" height="15" version="1.1" viewBox="0 0 3.9687 3.9688" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><rect width="3.9688" height="3.9687" ry=".52917" fill="#fff" fill-rule="evenodd" stroke-width=".26458"/><rect x=".26458" y=".26458" width="3.4396" height="3.4396" ry=".26458" fill="#5f5fd3" fill-rule="evenodd" stroke-width=".26458"/><path d="m3.4396 1.8521v0.32632l-1.2612-0.19403-0.06174 0.92604 0.54681 0.33514v0.19403l-0.6791-0.13229-0.6791 0.13229v-0.19403l0.54681-0.33514-0.06174-0.92604-1.2612 0.19403v-0.32632l1.2612-0.4498v-0.58208s0-0.29104 0.19403-0.29104 0.19403 0.29104 0.19403 0.29104v0.54681z" fill="#f9f9f9" stroke-width=".19403"/></svg>
|
package/package.json
CHANGED
|
@@ -263,10 +263,10 @@ export const getSelectOptgroupOptions = (sortedAircraft) => {
|
|
|
263
263
|
let html = "";
|
|
264
264
|
for (const optgroup of [
|
|
265
265
|
options.airliner,
|
|
266
|
-
options.helicopter,
|
|
267
266
|
options.general_aviation,
|
|
268
|
-
options.historical,
|
|
269
267
|
options.military,
|
|
268
|
+
options.historical,
|
|
269
|
+
options.helicopter,
|
|
270
270
|
options.aerobatic,
|
|
271
271
|
options.glider,
|
|
272
272
|
]) {
|