QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GeoJsonHelper.h File Reference
#include <QtCore/QList>
#include <QtCore/QLoggingCategory>
#include <QtPositioning/QGeoCoordinate>
#include "ShapeFileHelper.h"
+ Include dependency graph for GeoJsonHelper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  GeoJsonHelper
 

Functions

ShapeFileHelper::ShapeType GeoJsonHelper::determineShapeType (const QString &filePath, QString &errorString)
 
bool GeoJsonHelper::loadPolygonFromFile (const QString &filePath, QList< QGeoCoordinate > &vertices, QString &errorString)
 
bool GeoJsonHelper::loadPolylineFromFile (const QString &filePath, QList< QGeoCoordinate > &coords, QString &errorString)
 
bool GeoJsonHelper::loadGeoJsonCoordinate (const QJsonValue &jsonValue, bool altitudeRequired, QGeoCoordinate &coordinate, QString &errorString)
 returned error string if load failure
 
void GeoJsonHelper::saveGeoJsonCoordinate (const QGeoCoordinate &coordinate, bool writeAltitude, QJsonValue &jsonValue)
 json value to save to