QGIS API Documentation
3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
src
analysis
processing
qgsalgorithmbatchnominatimgeocode.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsalgorithmbatchnominatimgeocode.h
3
------------------
4
begin : December 2020
5
copyright : (C) 2020 by Mathieu Pellerin
6
email : nirvn dot asia at gmail dot com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSALGORITHMBATCHNOMINATIMGEOCODE_H
19
#define QGSALGORITHMBATCHNOMINATIMGEOCODE_H
20
21
#define SIP_NO_FILE
22
23
#include "
qgis_sip.h
"
24
#include "qgis_analysis.h"
25
#include "
qgsprocessingalgorithm.h
"
26
#include "
qgsalgorithmbatchgeocode.h
"
27
#include "
qgsnominatimgeocoder.h
"
28
30
34
class
QgsBatchNominatimGeocodeAlgorithm :
public
QgsBatchGeocodeAlgorithm
35
{
36
public
:
40
QgsBatchNominatimGeocodeAlgorithm();
41
42
QString
name
()
const override
;
43
QString
displayName
()
const override
;
44
QStringList
tags
()
const override
;
45
QString
shortHelpString
()
const override
;
46
QgsBatchNominatimGeocodeAlgorithm *
createInstance
()
const
override
SIP_FACTORY
;
47
48
protected
:
49
QgsCoordinateReferenceSystem
outputCrs
(
const
QgsCoordinateReferenceSystem
&inputCrs )
const override
;
50
bool
prepareAlgorithm(
const
QVariantMap ¶meters,
QgsProcessingContext
&context,
QgsProcessingFeedback
*feedback )
override
;
51
52
private
:
53
QgsNominatimGeocoder
mNominatimGeocoder;
54
mutable
QgsCoordinateReferenceSystem
mOutputCrs;
55
};
56
58
59
#endif
// QGSALGORITHMBATCHNOMINATIMGEOCODE_H
QgsBatchGeocodeAlgorithm
A base class for batch geocoder algorithms, which takes a QgsGeocoderInterface object and exposes it ...
Definition
qgsalgorithmbatchgeocode.h:69
QgsBatchGeocodeAlgorithm::tags
QStringList tags() const override
Returns a list of tags which relate to the algorithm, and are used to assist users in searching for s...
Definition
qgsalgorithmbatchgeocode.cpp:30
QgsCoordinateReferenceSystem
This class represents a coordinate reference system (CRS).
Definition
qgscoordinatereferencesystem.h:212
QgsNominatimGeocoder
A geocoder which uses the Nominatim geocoding API to retrieve results.
Definition
qgsnominatimgeocoder.h:37
QgsProcessingAlgorithm::createInstance
virtual QgsProcessingAlgorithm * createInstance() const =0
Creates a new instance of the algorithm class.
QgsProcessingAlgorithm::shortHelpString
virtual QString shortHelpString() const
Returns a localised short helper string for the algorithm.
Definition
qgsprocessingalgorithm.cpp:65
QgsProcessingAlgorithm::displayName
virtual QString displayName() const =0
Returns the translated algorithm name, which should be used for any user-visible display of the algor...
QgsProcessingAlgorithm::name
virtual QString name() const =0
Returns the algorithm name, used for identifying the algorithm.
QgsProcessingContext
Contains information about the context in which a processing algorithm is executed.
Definition
qgsprocessingcontext.h:45
QgsProcessingFeedback
Base class for providing feedback from a processing algorithm.
Definition
qgsprocessingfeedback.h:38
qgis_sip.h
SIP_FACTORY
#define SIP_FACTORY
Definition
qgis_sip.h:76
qgsalgorithmbatchgeocode.h
qgsnominatimgeocoder.h
qgsprocessingalgorithm.h
outputCrs
const QgsCoordinateReferenceSystem & outputCrs
Definition
qgswfsgetfeature.cpp:63
Generated on Thu Dec 26 2024 02:19:01 for QGIS API Documentation by
1.9.8