digiKam
|
This class calls Geonames' reverse geocoding service. More...
Signals | |
void | signalRGReady (QList< RGInfo > &) |
Emitted whenever some items are ready. More... | |
Public Member Functions | |
BackendGeonamesRG (QObject *const parent) | |
QString | backendName () override |
void | callRGBackend (const QList< RGInfo > &rgList, const QString &language) override |
void | cancelRequests () override |
QString | getErrorMessage () override |
QMap< QString, QString > | makeQMapFromXML (const QString &xmlData) |
~BackendGeonamesRG () override | |
This class calls Geonames' reverse geocoding service.
|
explicit |
Constructor
parent | the parent object. |
|
override |
Destructor
|
overridevirtual |
Reimplemented from Digikam::RGBackend.
|
overridevirtual |
Takes coordinates from each image and then connects to Open Street Map's reverse geocoding service.
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.
|
overridevirtual |
Implements Digikam::RGBackend.
|
overridevirtual |
Reimplemented from Digikam::RGBackend.
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.
xmlData | The returned XML. |
Emitted whenever some items are ready.