28using namespace Qt::StringLiterals;
32QgsBatchNominatimGeocodeAlgorithm::QgsBatchNominatimGeocodeAlgorithm()
36QString QgsBatchNominatimGeocodeAlgorithm::name()
const
38 return u
"batchnominatimgeocoder"_s;
41QString QgsBatchNominatimGeocodeAlgorithm::displayName()
const
43 return QObject::tr(
"Batch Nominatim geocoder" );
46QStringList QgsBatchNominatimGeocodeAlgorithm::tags()
const
48 return QObject::tr(
"geocode,nominatim,batch,bulk,address,match" ).split(
',' );
57QgsBatchNominatimGeocodeAlgorithm *QgsBatchNominatimGeocodeAlgorithm::createInstance()
const
59 return new QgsBatchNominatimGeocodeAlgorithm();
62QString QgsBatchNominatimGeocodeAlgorithm::shortHelpString()
const
65 "This algorithm performs batch geocoding using the <a href=\"https://nominatim.qgis.org/\">Nominatim</a> service against an input layer string field.\n\n"
66 "The output layer will have a point geometry reflecting the geocoded location as well as a number of attributes associated to the geocoded location."
70QString QgsBatchNominatimGeocodeAlgorithm::shortDescription()
const
72 return QObject::tr(
"Geocodes features in a vector layer using the Nominatim service." );
79 "The Nominatim geocoder data is made available by OpenStreetMap Foundation and contributors. "
80 "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.