16 #ifndef QGSGEOCODERRESULT_H 
   17 #define QGSGEOCODERRESULT_H 
   19 #include "qgis_core.h" 
   65     QString 
error()
 const { 
return mErrorString; }
 
  159     QString group() 
const;
 
  168     void setGroup( 
const QString &group );
 
  175     QString description() 
const;
 
  182     void setDescription( 
const QString &description );
 
  188     bool mIsValid = 
false;
 
  189     QString mErrorString;
 
  192     QString mDescription;
 
  197     QVariantMap mAdditionalAttributes;
 
This class represents a coordinate reference system (CRS).
Represents a matching result from a geocoder search.
void setAdditionalAttributes(const QVariantMap &attributes)
Setss additional attributes generated during the geocode, which may be added to features being geocod...
QString error() const
Returns the error string, if the result is invalid.
QString identifier() const
Returns the identifier string for the result.
QgsRectangle viewport() const
Returns the suggested viewport for the result, which reflects a recommended map extent for displaying...
QgsCoordinateReferenceSystem crs() const
Returns the coordinate reference system for the calculated geometry().
void setGeometry(const QgsGeometry &geometry)
Sets the resultant geometry resulting from the geocoding operation.
void setViewport(const QgsRectangle &viewport)
Sets the suggested viewport for the result, which reflects a recommended map extent for displaying th...
QgsGeometry geometry() const
Returns the resultant geometry resulting from the geocoding operation.
bool isValid() const
Returns true if the result is a valid result.
void setCrs(const QgsCoordinateReferenceSystem &crs)
Sets the coordinate reference system for the calculated geometry().
QVariantMap additionalAttributes() const
Contains additional attributes generated during the geocode, which may be added to features being geo...
A geometry is the spatial representation of a feature.
A rectangle specified with double values.
const QgsCoordinateReferenceSystem & crs