-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*************************************************************************** | ||
* Copyright (C) 2019-2024 by Stefan Kebekus * | ||
* Copyright (C) 2019-2025 by Stefan Kebekus * | ||
* [email protected] * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
|
@@ -93,7 +93,9 @@ GeoMaps::Waypoint::Waypoint(const QJsonObject &geoJSONObject) | |
m_coordinate.setAltitude(properties[QStringLiteral("ELE")].toDouble()); | ||
} | ||
|
||
// If the file was not created by Enroute, then the property array will not conform to the specification here: https://github.com/Akaflieg-Freiburg/enrouteServer/wiki/GeoJSON-files-used-in-enroute-flight-navigation | ||
// If the file was not created by Enroute, then the property array will not | ||
// conform to the specification here: | ||
// https://github.com/Akaflieg-Freiburg/enrouteServer/wiki/GeoJSON-files-used-in-enroute-flight-navigation | ||
// We create a fake entry instead. | ||
if (!m_properties.contains(QStringLiteral("TYP"))) | ||
{ | ||
|