Skip to content

Conversation

@andures
Copy link
Collaborator

@andures andures commented Dec 19, 2025

Summary

image

Adjusts the output naming defaults to use RWYXX when a runway field is missing.
Normalizes runway identifiers to a consistent format RWYNN with leading zero and optional suffix L/R/C (e.g., RWY01, RWY09L).
Keeps the previously added “Output name (optional)” behavior: user input is concatenated with the selected facility label; if absent, the normalized runway remark is used.
Changes

Default remark and normalization helper added in ils_llz_dockwidget.py
Default to RWYXX when no runway field is present.
Parse and normalize runway values found in typical fields (runway, rwy, thr_rwy) to RWYNN with optional L/R/C.
Behavior

When a runway value exists: RWYNN(+L/R/C) is used and concatenated with the facility label for display names.
When missing: RWYXX is used and concatenated with the facility label.
The UI “Output name (optional)” still overrides the base name if provided.
Verification

In QGIS ≥ 3.0:
Select a navaid without runway field → Calculate → Layer name should include RWYXX - BRA_areas.
Select a navaid with runway like 9, 09L, or RWY9R → Calculate → Layer name should include RWY09, RWY09L, RWY09R respectively.
Enter a custom Output name → Calculate → Layer name should include - BRA_areas.
Linked Issue

Closes #23 #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option for naming

1 participant