QGIS API Documentation
4.0.0-Norrköping (1ddcee3d0e4)
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
26
{
27
return
QgsFields
();
28
}
29
30
Qgis::WkbType
QgsGeocoderInterface::wkbType
()
const
31
{
32
return
Qgis::WkbType::Unknown
;
33
}
34
35
QList<QgsGeocoderResult>
QgsGeocoderInterface::geocodeString
(
const
QString &
string
,
const
QgsGeocoderContext
&context,
QgsFeedback
* )
const
36
{
37
Q_UNUSED(
string
)
38
Q_UNUSED( context )
39
return
QList< QgsGeocoderResult >();
40
}
Qgis::WkbType
WkbType
The WKB type describes the number of dimensions a geometry has.
Definition
qgis.h:294
Qgis::WkbType::Unknown
@ Unknown
Unknown.
Definition
qgis.h:295
QgsFeature
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Definition
qgsfeature.h:60
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:31
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:30
QgsGeocoderInterface::geocodeString
virtual QList< QgsGeocoderResult > geocodeString(const QString &string, const QgsGeocoderContext &context, QgsFeedback *feedback=nullptr) const
Geocodes a string.
Definition
qgsgeocoder.cpp:35
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
for QGIS API Documentation by
1.15.0