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