QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GeoJsonHelper.cc File Reference
#include "GeoJsonHelper.h"
#include "JsonHelper.h"
#include "JsonParsing.h"
#include "QGCLoggingCategory.h"
#include <QtCore/QFile>
#include <QtCore/QJsonValue>
#include <QtCore/QVariantMap>
#include <QtLocation/private/qgeojson_p.h>
#include <QtPositioning/QGeoCoordinate>
#include <QtPositioning/QGeoPath>
#include <QtPositioning/QGeoPolygon>
+ Include dependency graph for GeoJsonHelper.cc:

Go to the source code of this file.

Namespaces

namespace  GeoJsonHelper
 

Functions

QJsonDocument GeoJsonHelper::_loadFile (const QString &filePath, QString &errorString)
 
QVariantList GeoJsonHelper::_extractShapeValues (const QVariantList &values)
 
void GeoJsonHelper::_extractShapeValuesRecursive (const QVariant &value, QVariantList &shapes, int depth=0)
 

Variables

constexpr int GeoJsonHelper::_maxRecursionDepth = 32
 
constexpr const char * GeoJsonHelper::_errorPrefix = QT_TR_NOOP("GeoJson file load failed. %1")