18 #ifndef QGSWMSPARAMETERS_H 19 #define QGSWMSPARAMETERS_H 68 float mBufferSize = 0;
75 bool mHasExtent =
false;
181 const QVariant::Type type = QVariant::String,
182 const QVariant defaultValue = QVariant(
"" ) );
192 bool isValid()
const override;
200 QList<QgsGeometry> toGeomList(
const char delimiter =
',' )
const;
208 QList<int> toIntList(
const char delimiter =
',' )
const;
216 QList<double> toDoubleList(
const char delimiter =
',' )
const;
224 QList<QColor> toColorList(
const char delimiter =
',' )
const;
245 double toDouble()
const;
252 QColor toColor()
const;
268 QString loadUrl()
const;
274 void raiseError()
const;
344 QString width()
const;
353 int widthAsInt()
const;
359 QString height()
const;
368 int heightAsInt()
const;
380 bool versionIsValid(
const QString version )
const;
386 QString bbox()
const;
400 QString sldBody()
const;
406 QStringList selections()
const;
412 QStringList filters()
const;
418 QString filterGeom()
const;
424 QStringList opacities()
const;
433 QList<int> opacitiesAsInt()
const;
439 QStringList allLayersNickname()
const;
445 QStringList queryLayersNickname()
const;
451 QStringList allStyles()
const;
457 QList<QgsWmsParametersLayer> layersParameters()
const;
464 QString polygonTolerance()
const;
471 QString lineTolerance()
const;
478 QString pointTolerance()
const;
485 int polygonToleranceAsInt()
const;
492 int lineToleranceAsInt()
const;
499 int pointToleranceAsInt()
const;
505 QString formatAsString()
const;
518 QString infoFormatAsString()
const;
524 bool infoFormatIsImage()
const;
531 QString imageQuality()
const;
538 int imageQualityAsInt()
const;
545 Format infoFormat()
const;
552 int infoFormatVersion()
const;
618 QString rule()
const;
624 QString ruleLabel()
const;
632 bool ruleLabelAsBool()
const;
638 QString showFeatureCount()
const;
646 bool showFeatureCountAsBool()
const;
652 QString featureCount()
const;
660 int featureCountAsInt()
const;
666 QString scale()
const;
674 double scaleAsDouble()
const;
680 QString boxSpace()
const;
688 double boxSpaceAsDouble()
const;
694 QString layerSpace()
const;
702 double layerSpaceAsDouble()
const;
708 QString layerTitleSpace()
const;
716 double layerTitleSpaceAsDouble()
const;
722 QString symbolSpace()
const;
730 double symbolSpaceAsDouble()
const;
736 QString iconLabelSpace()
const;
744 double iconLabelSpaceAsDouble()
const;
750 QString symbolWidth()
const;
758 double symbolWidthAsDouble()
const;
764 QString symbolHeight()
const;
772 double symbolHeightAsDouble()
const;
779 QFont layerFont()
const;
785 QString layerFontFamily()
const;
791 QString layerFontBold()
const;
799 bool layerFontBoldAsBool()
const;
805 QString layerFontItalic()
const;
813 bool layerFontItalicAsBool()
const;
819 QString layerFontSize()
const;
827 double layerFontSizeAsDouble()
const;
833 QString layerFontColor()
const;
841 QColor layerFontColorAsColor()
const;
848 QFont itemFont()
const;
854 QString itemFontFamily()
const;
860 QString itemFontBold()
const;
868 bool itemFontBoldAsBool()
const;
874 QString itemFontItalic()
const;
882 bool itemFontItalicAsBool()
const;
888 QString itemFontSize()
const;
896 double itemFontSizeAsDouble()
const;
902 QString itemFontColor()
const;
910 QColor itemFontColorAsColor()
const;
916 QString layerTitle()
const;
924 bool layerTitleAsBool()
const;
936 QList<QgsWmsParametersHighlightLayer> highlightLayersParameters()
const;
942 QStringList highlightGeom()
const;
950 QList<QgsGeometry> highlightGeomAsGeom()
const;
956 QStringList highlightSymbol()
const;
962 QStringList highlightLabelString()
const;
968 QStringList highlightLabelColor()
const;
976 QList<QColor> highlightLabelColorAsColor()
const;
982 QStringList highlightLabelSize()
const;
990 QList<int> highlightLabelSizeAsInt()
const;
996 QStringList highlightLabelWeight()
const;
1004 QList<int> highlightLabelWeightAsInt()
const;
1010 QStringList highlightLabelFont()
const;
1016 QStringList highlightLabelBufferSize()
const;
1024 QList<double> highlightLabelBufferSizeAsFloat()
const;
1030 QStringList highlightLabelBufferColor()
const;
1038 QList<QColor> highlightLabelBufferColorAsColor()
const;
1044 QString wmsPrecision()
const;
1053 int wmsPrecisionAsInt()
const;
1059 QString transparent()
const;
1068 bool transparentAsBool()
const;
1074 QString backgroundColor()
const;
1083 QColor backgroundColorAsColor()
const;
1089 QString dpi()
const;
1098 double dpiAsDouble()
const;
1104 QString composerTemplate()
const;
1122 QString externalWMSUri(
const QString &
id )
const;
1128 bool withGeometry()
const;
1134 bool withMapTip()
const;
1140 QString wmtver()
const;
1149 QString layoutParameter(
const QString &
id,
bool &ok )
const;
1156 QStringList atlasPk()
const;
1159 bool loadParameter(
const QString &name,
const QString &value )
override;
1165 void raiseError(
const QString &msg )
const;
1166 void log(
const QString &msg )
const;
1168 QMultiMap<QString, QgsWmsParametersFilter> layerFilters(
const QStringList &layers )
const;
1170 QMap<QgsWmsParameter::Name, QgsWmsParameter> mWmsParameters;
1171 QMap<QString, QMap<QString, QString> > mExternalWMSParameters;
1172 QList<QgsProjectVersion> mVersions;
A rectangle specified with double values.
QgsWmsParameter::Name mName
QList< QgsWmsParametersLayer > mLayers
A geometry is the spatial representation of a feature.
Format
Output format for the response.
const QgsCoordinateReferenceSystem & crs
A class to describe the version of a project.
Provides an interface to retrieve and manipulate WMS parameters received from the client...
The QgsLegendSettings class stores the appearance and layout settings for legend drawing with QgsLege...
QList< QgsWmsParametersHighlightLayer > mHighlightLayers
QgsWmsParametersFilter::Type mType
QgsOgcUtils::FilterVersion mVersion
FilterVersion
OGC filter version.
Median cut implementation.
QgsServerParameters provides an interface to retrieve and manipulate global parameters received from ...
QList< QgsWmsParametersFilter > mFilter
WMS parameter received from the client.
Name
Available parameters for WMS requests.
Definition of a parameter with basic conversion methods.