QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
Contains utilities for working with EXIF tags in images. More...
#include <qgsexiftools.h>
Classes | |
class | GeoTagDetails |
Extended image geotag details. More... | |
Static Public Member Functions | |
static bool | geoTagImage (const QString &imagePath, const QgsPointXY &location, const GeoTagDetails &details=QgsExifTools::GeoTagDetails()) |
Writes geotags to the image at imagePath. More... | |
static QgsPoint | getGeoTag (const QString &imagePath, bool &ok) |
Returns the geotagged coordinate stored in the image at imagePath. More... | |
Contains utilities for working with EXIF tags in images.
Definition at line 30 of file qgsexiftools.h.
|
static |
Writes geotags to the image at imagePath.
The location argument indicates the GPS location to write to the image, as a WGS84 latitude/longitude coordinate.
If desired, extended GPS tags (such as elevation) can be specified via the details argument.
Returns true
if writing was successful.
Definition at line 195 of file qgsexiftools.cpp.
|
static |
Returns the geotagged coordinate stored in the image at imagePath.
If a geotag was found, ok will be set to true
.
If the image contains an elevation tag then the returned point will contain the elevation as a z value.
Definition at line 103 of file qgsexiftools.cpp.