27QgsBatchNominatimGeocodeAlgorithm::QgsBatchNominatimGeocodeAlgorithm()
32QString QgsBatchNominatimGeocodeAlgorithm::name()
const
34 return QStringLiteral(
"batchnominatimgeocoder" );
37QString QgsBatchNominatimGeocodeAlgorithm::displayName()
const
39 return QObject::tr(
"Batch Nominatim geocoder" );
42QStringList QgsBatchNominatimGeocodeAlgorithm::tags()
const
44 return QObject::tr(
"geocode,nominatim,batch,bulk,address,match" ).split(
',' );
53QgsBatchNominatimGeocodeAlgorithm *QgsBatchNominatimGeocodeAlgorithm::createInstance()
const
55 return new QgsBatchNominatimGeocodeAlgorithm();
58QString QgsBatchNominatimGeocodeAlgorithm::shortHelpString()
const
60 return QObject::tr(
"This algorithm performs batch geocoding using the <a href=\"#\">Nominatim</a> service against an input layer string field.\n\n"
61 "The output layer will have a point geometry reflecting the geocoded location as well as a number of attributes associated to the geocoded location." );
66 feedback->
pushInfo( QObject::tr(
"The Nominatim geocoder data is made available by OpenStreetMap Foundation and contributors. "
67 "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.
This class 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.