|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <QtCore/QList>#include <QtCore/QVariantList>#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 | |
| bool | GeoJsonHelper::loadGeoCoordinate (const QJsonValue &jsonValue, bool altitudeRequired, QGeoCoordinate &coordinate, QString &errorString) |
| void | GeoJsonHelper::saveGeoCoordinate (const QGeoCoordinate &coordinate, bool writeAltitude, QJsonValue &jsonValue) |
Saves a QGeoCoordinate as [lat, lon, alt] array (QGC plan format). | |
| bool | GeoJsonHelper::loadGeoCoordinateArray (const QJsonValue &jsonValue, bool altitudeRequired, QVariantList &rgVarPoints, QString &errorString) |
| Loads a list of QGeoCoordinates (QGC plan format) from a json array. | |
| bool | GeoJsonHelper::loadGeoCoordinateArray (const QJsonValue &jsonValue, bool altitudeRequired, QList< QGeoCoordinate > &rgPoints, QString &errorString) |
| void | GeoJsonHelper::saveGeoCoordinateArray (const QVariantList &rgVarPoints, bool writeAltitude, QJsonValue &jsonValue) |
| Saves a list of QGeoCoordinates (QGC plan format) to a json array. | |
| void | GeoJsonHelper::saveGeoCoordinateArray (const QList< QGeoCoordinate > &rgPoints, bool writeAltitude, QJsonValue &jsonValue) |