QGIS API Documentation
3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
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:256
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:58
QgsFeedback
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Definition
qgsfeedback.h:44
QgsFields
Container of fields for a vector layer.
Definition
qgsfields.h:46
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 Nov 10 2024 14:15:43 for QGIS API Documentation by
1.9.8