GithubHelp home page GithubHelp logo

portree-kid / flightgear-airports Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 2.7 MB

License: GNU General Public License v3.0

JavaScript 55.97% Vue 43.62% CSS 0.16% NSIS 0.09% EJS 0.15%
flightgear

flightgear-airports's Introduction

Hi there ๐Ÿ‘‹

flightgear-airports's People

Contributors

dependabot[bot] avatar portree-kid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

flightgear-airports's Issues

Expose FGA Version to User more clearly

Given the pace of releases it would be good to have an indication of what version the user is running to facilitate troubleshooting and regression.

Somewhere in Help and or in Window Title Bar ?

image

DRAW UX: Drawing Tool not deactivated when mouse over / click icon

Draw Tool
Cclick start node
Move mouse. dashed line showed from first node to mouse : OK
Mouse hover tool or any other clickable element
Click on Parking Tool

Observed : second node placed under parking tool icon, taxiway drawn between node 1 and 2, user still in drawing mode (to node 3)

Expected : Click on active NAV/Tools takes priority and cancels drawing

EDIT Can Vary Parkpos Heading/Radii without selecting

Click on a Parpos > Center Highlighted in red.> Parkpos Details app in Properties.

Mouse over the Heading marker of ANOTHER parkpos where hand pointer turns into finger pointer

Click & Drag the heading marker.
User able to change heading and radii of the second (unselected) parkpos

Check : No way from Runway to Each parking

Airport YSSY

All routes between ParkPos and Runway nodes are valid as per Taxidraw. Rejected by FGA. Can't isolate the 'pair' of points failing as map is too busy when zooming out.

Screenshot below also shows one error generated for each node On Runway. Testing (and error message reporting) against the last node on the route/on runway should be enough., the rest of the route consistency is tested separately anyway.

No way from runway to each parking

Unsafe App

Not a bug - More of a self reminder for future investigation.

FGA Blocked by default by Win10 (At download and run time).
FGA Blocked by Trend First Launch (Dismiss, relaunch to expose the RUN option)

FGA Not Recognized

Trend

INSTALLER: Install Path not reflected in UI

User Selects '\\A' as install path
Program installed as \\A\flighgear-airports\

Expected : UI Install Box should show "\flightgear-airports" at the end of whatever path is picked by user to reflect true install location

EDIT UI - parking radius sizes

while i appreciate the ease with using A, B, C, D, etc for the parking radius, i need to see the numbers...

eg: terminal parking that can accept radius 14 and 16... but if eg: C covers 14 - 18, then possibly too large craft will be allowed... i would like to see the actual numbers, please... if there's some document somewhere covering the letters to radius numbers, i'm happy to be pointed to it, too...

JFYI: i ran a search on all the traffic files for the radiuses... these are the stats i came up with...

~/flightgear-dev/release/install/flightgear/data/AI/Traffic$ find . -type d \( -path .git -o -path .svn -o -path .cvs \) -prune -o -type f -iname "*.xml" -exec grep -EHin -e "radius\>" {} \; | cut -d">" -f2 | cut -d"<" -f1 | sort | uniq -c
    509 10
    397 11
    526 12
      1 127
    756 13
   2200 14
    102 15
    394 16
   4225 17
   1509 18
    609 19
      8 2
     10 22
     58 23
    524 24
     49 26
   2505 30
    579 32
     54 34
    197 40
     22 6
      2 7
      5 8
      7 9

the first column is the number of occurrences... the second number is the radius size... yes, i've already tracked that one wild one down and will be reporting it on the forums soon-ish...

Loss of all directories on save

v0.0.19: This is something to watch for, to see if others experience it. I had just added some airline information into various parking positions and clicked Save or possibly Check (not sure which). When I next looked at the screen, it showed an airport in France (Moulin Rouge or something similar). I tried searching for KPHL which I had been working on, and the app did nothing. I clicked Settings and found there were no links to any of the directories. I ended up re-installing the app overtop the old one. When I started it from the install, everything was back to normal.
This later occurred again after I clicked Check. I noticed a new "Reload" function. Using that brought me back to a normal screen.

Nodes & ParkPos Precision and UI

Node LAT / LON can be manually typed with 6 decimals

image

Showed Saved as 6 decimals
image

On RE-EDIT. Values are rounded to 5 an node moved
image

EXPECTED : Nodes and ParkPos have 6 decimals precision
EXPECTED : Dragging node on map updates dynamically LAT LON in Properties

ALSO : Same issue with ParkPos :

Position Shown on saving
image

Postion shown on re-edit (shifted)
image

SELECT Cannot Extend Selection with Shift-Click

SHIFT-CLICK

  • Should allow me to select more than one element of a common type (3 Parkpos OR 2 sgments) and apply changes to all elements at once
  • Properties should reflect common elements and blank uniques ones eg selectin Gate A1 A2 and A3 the properies name is A (common) but number is blank (unique per element)

Any change to a value in the property panel should apply to all selected elements

Uses Case :
Set a common heading and or radius for a cluster of Parpos
Turning a complete route (multiple segments) from Pushback to Normal at once
Turning a complete route (multiple segments) from Unidirectional to bidirectional or changing from forward to backward

PARKPOS # saved as number instead of Text

Assign a 2 digits number to a Parkpos with first digit is 0
Save

image

RE EDIT

image

OBSERVED :
If Gate # is number : leading zero removed
If Gate # is text : content saved as is
EXPECTED : Gate Number values saved as is (as Text) including leading zeros

Route Edit

The user wants to expand route selection to next HoldPoint/multi-connected and be able to edit the common fields.
Turning a complete route (multiple segments) from Pushback to Normal at once
Turning a complete route (multiple segments) from Unidirectional to bidirectional or changing from forward to backward

EDIT UI Missing Instructions Documentation

  • How do I Select / Unselect a Route vs a Single segment
  • How do I Stop Drawing (Double click on end works but triggers a zoom)
  • Any keyboard shortcuts (DEL would be nice)
  • Any Right Click / Middle Click / Roller functions ?

Will put together UI recommendations in Requirements Doco

PARKPOS Varying radii/Heading on map does not vary it in properties

Select/Highlight a Parkpos
Click/Grab the Heading/Radii Marker
Vary the radii

  • Radii Visual (Bubble) size skip between preset discrete values (Categories A B C D E F) (/)
  • Properties panel does not reflect radius changes made on the map (x)
  • Properties panel does not reflect heading changes made on the map (x)

Expected : Changes made on the map are immediatly reflected in properties and vice versa

DATA: No taxiway/pushback rendered at LFPG

Only Parkpos and Pushback holding points shown. Issue does not happen at other airports. Check repo with taxidraw and taxilines are in there. Properties panel counts 1404 nodes but none shown

NODES : Orphan Nodes are NOT reflected in FGA

UUEE file contains a series of orphan (not connected to anything) node in the north east corner of the apron.

Orphan nodes not plotted on FGA

Use Case :
Import eAIP data (ParkPos Lat Lon) for set a first wireframe to build upon.

Javascript errors

I presume you know about these - but on the offchance, documenting them for your use:

renderer.js:11 Uncaught (in promise) TypeError: Cannot read property 'addTo' of undefined at a.load (renderer.js:11) at renderer.js:11 at C:\Program Files\flightgear-airports\resources\app.asar\node_modules\vuex\dist\vuex.common.js:396 at Array.forEach (<anonymous>) at Store.commit (C:\Program Files\flightgear-airports\resources\app.asar\node_modules\vuex\dist\vuex.common.js:396) at Object.boundCommit [as commit] (C:\Program Files\flightgear-airports\resources\app.asar\node_modules\vuex\dist\vuex.common.js:336)

Uncaught TypeError: Cannot read property 'slice' of undefined at 111 (renderer.js:11) at Interface.<anonymous> (renderer.js:11) at Interface.emit (events.js:182) at Interface._onLine (readline.js:290) at Interface._normalWrite (readline.js:433) at Gunzip.ondata (readline.js:149) at Gunzip.emit (events.js:182)

MacOS file path

MacOS Flightgear directory path /Applications/Flightgear/Contents/Resources needs to be /Applications/Flightgear.app/Contents/Resources for scan to work. Path is not editable from Settings dialogue. Current workaround is to remove ".app" from Flightgear contents package

missing selected parking restrictions when opening ground net subsequent times

i just created KCHS yesterday... today i added restrictions to the parking, saved, and exported... a few minutes later, i opened the appimage (0.0.16) again still at KCHS... i went into edit mode to look at the parking again and the restrictions do not appear... clicking on the dropdown shows none of the previously selected airlines as selected...

looking in the existing exported copy of KCHS, i see the restrictions are properly listed...

opening the appimage (0.0.16) again, entering edit mode, selecting parking A2, see no restrictions, save, export, look at exported ground net and the restrictions are properly listed still...

Double-clicking to end line-drawing also zooms in, MacOS

When I have completed drawing a line and double-click to end line-drawing, it zooms in at the same time. It's been that way since my first use of program. It may be just a by-product of the inner workings of Mac OS, so this may be more of a suggestion than bug. It's just a little time consuming and annoying to have to zoom out one step every time I finish drawing a line.

Disappearing parking icon

If a parking location is selected before selecting "Edit" the icon will disappear, saving or restarting the program will bring it back.
Clipboard 1

UI - which scan are we running now?

when you click a scan button, the progress bar appears and the title in the blue field at the top says scanning but all the buttons return to normal and you cannot tell which scan is active...

Allow entry of airline codes with no traffic (yet)

Doing KPHL I found that fg-airports displays those airline codes with traffic currently in FlightGear (nice feature), but does not yet permit entry of other airline codes, as does TaxiDraw. There are several of these "other" airlines that utilize KPHL.

DRAW Forward Taxiline. Not rendered unless re-selected, Can't un-select

Entry conditions : 2 existing separate nodes

Tool Draw Forward Line
Click on first node
Click on second node
A Segment is created between the two nodes
Re click on second node
Draw tool deactivated
Click on a third node (go away)

BUG 1 : Line drawn does not reflect it is unidirectional (no red arrows)

Click on the line drawn

Lines is red (Selected)
Line shows red arrows indicating unidirectional

Click other element (go away)
Other Elements turned red (selected)

BUG 2 : Drawn line is NOT unselected and remains red

UI - two or more scans at the same time use the same progress bar location

you can run more than one scan at a time...

problem: there is only one progress bar location at the top under the blue title field... each running scan updates that location with its progress bar... that section of the UI flips back and forth between each progress bar...

solution: perhaps put a scan-specific progress bar with each scan button OR even better, make each scan button the progress bar for that scan...

Zooming in/out resets the "Hide APT" option

Both View & Edit modes
Go to an airport
Toggle Hide APT

APT Data hidden from map
Zoom in or out
APT Data re-appears on map

UI: Can't deduct the Enabled / Disabled status of Hide APT icon from look & feel (same in both state?). Could use some visual treatment to help differentiate states

Node "Selected" Red Colour toggled off if position varied (Type or Drag)

Click on a node

Node turns Red
Drag node with Mouse to a different location
Node turns White (x)
Node still selected (LAT LON update dynamically in Properties if dragged further (/)

Click on a node

Node turns Red
Change (type in) LAT LON in Properties Panel
Node turns White (x)
Node Moves on map along LAT LON typed in properties (/)

Confusing to user where multiple nodes sit next to each other, which one is under edit

image

PARKPOS Selecting Parkpos via Heading Marker does NOT unselect previous element

Pick a pack of parkos close to each other

Click on the first parkpos Heading marker

  • Marker turn red (/)
  • Parkpos radii highlighted in red (/)
  • Parkpos anchor/center not highlighted (x)
  • Parkpos details in Properties Panel (/)

Click on another closeby parkpos Heading marker

  • Heading Marker turn red (/)
  • Heading Marker of FIRST PARKPOS remains red (x)
  • Parkpos radii highlighted in red (/)
  • Parkpos anchor/center not highlighted (x)

Expectation

  1. Clicking on any particulars of an element highlight the entire element ie, for parkpos does not matter if selected via click on center marker, heading marker or radi, all three elements should be hgighlighted
    2 Clicking away (on a different element) should de-select all 3 elements of the parkpos

Return to Check Results after fixing an issue

It would be more efficient if focus was returned to the Check Result box after one issue is fixed, at least until ALL issues are fixed. For example, if the Check Result box lists three overlapping parking positions and the first on the list is fixed, return to the list immediately so the other two overlapping positions can be fixed without unnecessary steps.

Check : No way to Pushback Holdpoint

YSSY (Valid as per Taxidraw validation)
Run Check in FGA
Return series of" No way to Pushback Holdpoint" errors where gate is actually connected to pushback

wrong parking stats

i started with the current "parking only" KCLT ground net... i've added/edited ~91 parking places into it with full paths to all runways... when i start the tool at KCLT... click on the properties button and then the Statistics tab... it tells me there's only 12 parking positions but when i go to the Parking tab, i count ~91 different parking positions... yes, i'm sure there are at least 91 because it took me a while to put them all in ;)

0.0.17 appimage - crash during check

Crashed                                                                                             check.js:39
checkGroundnet.then.catch.result @ check.js:39
Promise.catch (async)
onmessage @ check.js:38

TypeError: Cannot read property 'length' of undefined                                               check.js:40
    at Object.polygon (/tmp/.mount_flightEtPxTb/resources/workers/node_modules/@turf/turf/turf.js:235)
    at parkingNodes.forEach.parkingNode1 (check.js:239)
    at Array.forEach (<anonymous>)
    at parkingNodes.forEach.parkingNode (check.js:231)
    at Array.forEach (<anonymous>)
    at check.js:230
    at new Promise (<anonymous>)
    at checkGroundnet (check.js:47)
    at onmessage (check.js:33)
checkGroundnet.then.catch.result @ check.js:40
Promise.catch (async)
onmessage @ check.js:38

Improve Overlap Test

Overlapping parkings must be tested in more detail as aircraft nose to nose can be nearer.

Lost Segments

Under unclear circumstances Segments can get lost.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.