QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
qgsgeocoder.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsgeocoder.cpp
3 ---------------
4 Date : August 2020
5 Copyright : (C) 2020 by Nyall Dawson
6 Email : nyall dot dawson at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#include "qgsgeocoder.h"
17
18QList<QgsGeocoderResult> QgsGeocoderInterface::geocodeFeature( const QgsFeature &feature, const QgsGeocoderContext &context, QgsFeedback * ) const
19{
20 Q_UNUSED( feature )
21 Q_UNUSED( context )
22 return QList< QgsGeocoderResult >();
23}
24
26
28
29QList<QgsGeocoderResult> QgsGeocoderInterface::geocodeString( const QString &string, const QgsGeocoderContext &context, QgsFeedback * ) const
30{
31 Q_UNUSED( string )
32 Q_UNUSED( context )
33 return QList< QgsGeocoderResult >();
34}
WkbType
The WKB type describes the number of dimensions a geometry has.
Definition: qgis.h:182
@ Unknown
Unknown.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Definition: qgsfeature.h:56
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Definition: qgsfeedback.h:44
Container of fields for a vector layer.
Definition: qgsfields.h:45
Encapsulates the context of a geocoding operation.
virtual QList< QgsGeocoderResult > geocodeFeature(const QgsFeature &feature, const QgsGeocoderContext &context, QgsFeedback *feedback=nullptr) const
Geocodes a feature.
Definition: qgsgeocoder.cpp:18
virtual Qgis::WkbType wkbType() const
Returns the WKB type of geometries returned by the geocoder.
Definition: qgsgeocoder.cpp:27
virtual QList< QgsGeocoderResult > geocodeString(const QString &string, const QgsGeocoderContext &context, QgsFeedback *feedback=nullptr) const
Geocodes a string.
Definition: qgsgeocoder.cpp:29
virtual QgsFields appendedFields() const
Returns a set of newly created fields which will be appended to existing features during the geocode ...
Definition: qgsgeocoder.cpp:25