QGIS API Documentation
3.32.0-Lima (311a8cb8a6)
src
core
geocoding
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
18
QList<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
25
QgsFields
QgsGeocoderInterface::appendedFields
()
const
{
return
QgsFields
(); }
26
27
Qgis::WkbType
QgsGeocoderInterface::wkbType
()
const
{
return
Qgis::WkbType::Unknown
; }
28
29
QList<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
}
Qgis::WkbType
WkbType
The WKB type describes the number of dimensions a geometry has.
Definition:
qgis.h:154
Qgis::WkbType::Unknown
@ Unknown
Unknown.
QgsFeature
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Definition:
qgsfeature.h:56
QgsFeedback
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Definition:
qgsfeedback.h:45
QgsFields
Container of fields for a vector layer.
Definition:
qgsfields.h:45
QgsGeocoderContext
Encapsulates the context of a geocoding operation.
Definition:
qgsgeocodercontext.h:32
QgsGeocoderInterface::geocodeFeature
virtual QList< QgsGeocoderResult > geocodeFeature(const QgsFeature &feature, const QgsGeocoderContext &context, QgsFeedback *feedback=nullptr) const
Geocodes a feature.
Definition:
qgsgeocoder.cpp:18
QgsGeocoderInterface::wkbType
virtual Qgis::WkbType wkbType() const
Returns the WKB type of geometries returned by the geocoder.
Definition:
qgsgeocoder.cpp:27
QgsGeocoderInterface::geocodeString
virtual QList< QgsGeocoderResult > geocodeString(const QString &string, const QgsGeocoderContext &context, QgsFeedback *feedback=nullptr) const
Geocodes a string.
Definition:
qgsgeocoder.cpp:29
QgsGeocoderInterface::appendedFields
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
qgsgeocoder.h
Generated on Sun Jun 25 2023 11:54:04 for QGIS API Documentation by
1.9.4