1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
779f98a206 Ignore GeoJSON features with null geometries 2024-03-27 09:07:39 +01:00
a660cbd463 Version++ 2024-03-27 09:07:24 +01:00
4 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
version: 13.18.{build} version: 13.19.{build}
configuration: configuration:
- Release - Release

View File

@ -3,7 +3,7 @@ unix:!macx:!android {
} else { } else {
TARGET = GPXSee TARGET = GPXSee
} }
VERSION = 13.18 VERSION = 13.19
QT += core \ QT += core \

View File

@ -37,7 +37,7 @@ Unicode true
; The name of the installer ; The name of the installer
Name "GPXSee" Name "GPXSee"
; Program version ; Program version
!define VERSION "13.18" !define VERSION "13.19"
; The file to write ; The file to write
OutFile "GPXSee-${VERSION}_x64.exe" OutFile "GPXSee-${VERSION}_x64.exe"

View File

@ -603,6 +603,8 @@ bool GeoJSONParser::geometryCollection(const QJsonObject &object,
bool GeoJSONParser::feature(const QJsonObject &object, const Projection &parent, bool GeoJSONParser::feature(const QJsonObject &object, const Projection &parent,
QList<TrackData> &tracks, QList<Area> &areas, QVector<Waypoint> &waypoints) QList<TrackData> &tracks, QList<Area> &areas, QVector<Waypoint> &waypoints)
{ {
if (object["geometry"].isNull())
return true;
if (!object["geometry"].isObject()) { if (!object["geometry"].isObject()) {
_errorString = "Invalid/missing Feature geometry object"; _errorString = "Invalid/missing Feature geometry object";
return false; return false;