Skip to content

Commit

Permalink
Update Waypoint.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kebekus committed Feb 22, 2025
1 parent 8c29045 commit 1d29f74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/geomaps/Waypoint.cpp
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 *
Expand Down Expand Up @@ -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")))
{
Expand Down

0 comments on commit 1d29f74

Please sign in to comment.