This class calls Geonames' reverse geocoding service.
More...
#include <backend-geonames-rg.h>
This class calls Geonames' reverse geocoding service.
◆ BackendGeonamesRG()
Digikam::BackendGeonamesRG::BackendGeonamesRG |
( |
QObject *const |
parent | ) |
|
|
explicit |
◆ ~BackendGeonamesRG()
Digikam::BackendGeonamesRG::~BackendGeonamesRG |
( |
| ) |
|
|
override |
◆ backendName()
QString Digikam::BackendGeonamesRG::backendName |
( |
| ) |
|
|
overridevirtual |
◆ callRGBackend()
void Digikam::BackendGeonamesRG::callRGBackend |
( |
const QList< RGInfo > & |
rgList, |
|
|
const QString & |
language |
|
) |
| |
|
overridevirtual |
Takes coordinates from each image and then connects to Open Street Map's reverse geocoding service.
- Parameters
-
rgList | A list containing information needed in reverse geocoding process. At this point, it contains only coordinates. |
language | The language in which the data will be returned. |
Implements Digikam::RGBackend.
◆ cancelRequests()
void Digikam::BackendGeonamesRG::cancelRequests |
( |
| ) |
|
|
overridevirtual |
◆ getErrorMessage()
QString Digikam::BackendGeonamesRG::getErrorMessage |
( |
| ) |
|
|
overridevirtual |
◆ makeQMapFromXML()
QMap< QString, QString > Digikam::BackendGeonamesRG::makeQMapFromXML |
( |
const QString & |
xmlData | ) |
|
The data is returned from Open Street Map in a XML. This function translates the XML into a QMap.
- Parameters
-
◆ signalRGReady
void Digikam::RGBackend::signalRGReady |
( |
const QList< RGInfo > & |
| ) |
|
|
signalinherited |
Emitted whenever some items are ready.
The documentation for this class was generated from the following files: