|
| QgsNominatimGeocoder (const QString &countryCodes=QString(), const QString &endpoint=QString()) |
| Constructor for QgsNominatimGeocoder. More...
|
|
QgsFields | appendedFields () const override |
| Returns a set of newly created fields which will be appended to existing features during the geocode operation. More...
|
|
QString | countryCodes () const |
| Returns the optional region bias which will be used to prioritize results in a certain region. More...
|
|
QString | endpoint () const |
| Returns the API endpoint used for requests. More...
|
|
Flags | flags () const override |
| Returns the geocoder's capability flags. More...
|
|
QList< QgsGeocoderResult > | geocodeString (const QString &string, const QgsGeocoderContext &context, QgsFeedback *feedback=nullptr) const override |
| Geocodes a string. More...
|
|
QgsGeocoderResult | jsonToResult (const QVariantMap &json) const |
| Converts a JSON result returned from the Nominatim service to a geocoder result object. More...
|
|
double | requestsPerSecond () const |
| Returns the number of requests per seconds to the endpoint. More...
|
|
QUrl | requestUrl (const QString &address, const QgsRectangle &bounds=QgsRectangle()) const |
| Returns the URL generated for geocoding the specified address. More...
|
|
void | setCountryCodes (const QString &countryCodes) |
| Sets the optional region bias which will be used to prioritize results in a certain region. More...
|
|
void | setEndpoint (const QString &endpoint) |
| Sets a specific API endpoint to use for requests. More...
|
|
void | setRequestsPerSecond (double number) |
| Sets the number of request per seconds to the endpoint. More...
|
|
QgsWkbTypes::Type | wkbType () const override |
| Returns the WKB type of geometries returned by the geocoder. More...
|
|
virtual | ~QgsGeocoderInterface ()=default |
|
virtual QgsFields | appendedFields () const |
| Returns a set of newly created fields which will be appended to existing features during the geocode operation. More...
|
|
virtual Flags | flags () const =0 |
| Returns the geocoder's capability flags. More...
|
|
virtual QList< QgsGeocoderResult > | geocodeFeature (const QgsFeature &feature, const QgsGeocoderContext &context, QgsFeedback *feedback=nullptr) const |
| Geocodes a feature. More...
|
|
virtual QList< QgsGeocoderResult > | geocodeString (const QString &string, const QgsGeocoderContext &context, QgsFeedback *feedback=nullptr) const |
| Geocodes a string. More...
|
|
virtual QgsWkbTypes::Type | wkbType () const |
| Returns the WKB type of geometries returned by the geocoder. More...
|
|