QGIS API Documentation
3.24.2-Tisler (13c1a02865)
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
QgsWkbTypes::Type
QgsGeocoderInterface::wkbType
()
const
{
return
QgsWkbTypes::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
}
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::wkbType
virtual QgsWkbTypes::Type wkbType() const
Returns the WKB type of geometries returned by the geocoder.
Definition:
qgsgeocoder.cpp:27
QgsGeocoderInterface::geocodeFeature
virtual QList< QgsGeocoderResult > geocodeFeature(const QgsFeature &feature, const QgsGeocoderContext &context, QgsFeedback *feedback=nullptr) const
Geocodes a feature.
Definition:
qgsgeocoder.cpp:18
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
QgsWkbTypes::Type
Type
The WKB type describes the number of dimensions a geometry has.
Definition:
qgswkbtypes.h:70
QgsWkbTypes::Unknown
@ Unknown
Definition:
qgswkbtypes.h:71
qgsgeocoder.h
Generated on Fri Apr 29 2022 19:08:16 for QGIS API Documentation by
1.9.1