25#define EXCLUDE_CPPCHECK
26#ifdef EXCLUDE_CPPCHECK
30using namespace Qt::StringLiterals;
34QgsBatchNominatimGeocodeAlgorithm::QgsBatchNominatimGeocodeAlgorithm()
38QString QgsBatchNominatimGeocodeAlgorithm::name()
const
40 return u
"batchnominatimgeocoder"_s;
43QString QgsBatchNominatimGeocodeAlgorithm::displayName()
const
45 return QObject::tr(
"Batch Nominatim geocoder" );
48QStringList QgsBatchNominatimGeocodeAlgorithm::tags()
const
50 return QObject::tr(
"geocode,nominatim,batch,bulk,address,match" ).split(
',' );
59QgsBatchNominatimGeocodeAlgorithm *QgsBatchNominatimGeocodeAlgorithm::createInstance()
const
61 return new QgsBatchNominatimGeocodeAlgorithm();
64QString QgsBatchNominatimGeocodeAlgorithm::shortHelpString()
const
67 "This algorithm performs batch geocoding using the <a href=\"https://nominatim.qgis.org/\">Nominatim</a> service against an input layer string field.\n\n"
68 "The output layer will have a point geometry reflecting the geocoded location as well as a number of attributes associated to the geocoded location."
72QString QgsBatchNominatimGeocodeAlgorithm::shortDescription()
const
74 return QObject::tr(
"Geocodes features in a vector layer using the Nominatim service." );
79 QGS_MARK_ALGORITHM_SOURCE
83 "The Nominatim geocoder data is made available by OpenStreetMap Foundation and contributors. "
84 "It is provided under the ODbL license which requires to share alike. Visit https://nominatim.org/ to learn more."
A base class for batch geocoder algorithms, which takes a QgsGeocoderInterface object and exposes it ...
bool prepareAlgorithm(const QVariantMap ¶meters, QgsProcessingContext &context, QgsProcessingFeedback *feedback) override
Prepares the algorithm to run using the specified parameters.
Represents a coordinate reference system (CRS).
bool isValid() const
Returns whether this CRS is correctly initialized and usable.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.
virtual void pushInfo(const QString &info)
Pushes a general informational message from the algorithm.