QGIS API Documentation  3.14.0-Pi (9f7028fd23)
qgswmsparameters.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgswmsparameters.h
3  ------------------
4  begin : March 17, 2017
5  copyright : (C) 2017 by Paul Blottiere
6  email : paul dot blottiere at oslandia dot com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QGSWMSPARAMETERS_H
19 #define QGSWMSPARAMETERS_H
20 
21 #include <QMap>
22 #include <QMetaEnum>
23 #include <QColor>
24 
25 #include "qgsrectangle.h"
26 #include "qgslegendsettings.h"
27 #include "qgsprojectversion.h"
28 #include "qgsogcutils.h"
29 #include "qgsserverparameters.h"
30 #include "qgsdxfexport.h"
31 
32 namespace QgsWms
33 {
34  struct QgsWmsParametersFilter
35  {
37  enum Type
38  {
39  UNKNOWN,
40  SQL,
41  OGC_FE
42  };
43 
44  QString mFilter;
47  };
48 
50  {
51  QString mNickname; // name, id or short name
52  int mOpacity = -1;
53  QList<QgsWmsParametersFilter> mFilter; // list of filter
54  QStringList mSelection; // list of string fid
55  QString mStyle;
56  };
57 
58  struct QgsWmsParametersExternalLayer
59  {
60  QString mName;
61  QString mUri;
62  };
63 
65  {
66  QString mName;
68  QString mSld;
69  QString mLabel;
70  QColor mColor;
71  int mSize = 0;
72  int mWeight = 0;
73  QString mFont;
74  float mBufferSize = 0;
75  QColor mBufferColor;
76  };
77 
79  {
80  int mId = 0; // composer map id
81  bool mHasExtent = false; // does the request contains extent for this composer map
82  QgsRectangle mExtent; // the request extent for this composer map
83  float mScale = -1;
84  float mRotation = 0;
85  float mGridX = 0;
86  float mGridY = 0;
87  QList<QgsWmsParametersLayer> mLayers; // list of layers for this composer map
88  QList<QgsWmsParametersExternalLayer> mExternalLayers; // list of external layers for this composer map
89  QList<QgsWmsParametersHighlightLayer> mHighlightLayers; // list of highlight layers for this composer map
90  };
91 
99  {
100  Q_GADGET
101 
102  public:
104  enum Name
105  {
106  UNKNOWN,
107  BOXSPACE,
108  CRS,
109  SRS,
110  WIDTH,
112  BBOX,
116  ITEMFONTBOLD,
118  ITEMFONTSIZE,
148  I,
149  J,
150  X,
151  Y,
182  };
183  Q_ENUM( Name )
184 
185 
192  const QVariant::Type type = QVariant::String,
193  const QVariant defaultValue = QVariant( "" ) );
194 
198  virtual ~QgsWmsParameter() override = default;
199 
203  bool isValid() const override;
204 
212  QStringList toStyleList( const char delimiter = ',' ) const;
213 
220  QList<QgsGeometry> toGeomList( const char delimiter = ',' ) const;
221 
228  QList<int> toIntList( const char delimiter = ',' ) const;
229 
236  QList<double> toDoubleList( const char delimiter = ',' ) const;
237 
244  QList<QColor> toColorList( const char delimiter = ',' ) const;
245 
251  QgsRectangle toRectangle() const;
252 
258  int toInt() const;
259 
265  double toDouble() const;
266 
272  QColor toColor() const;
273 
280  QUrl toUrl() const;
281 
288  QString loadUrl() const;
289 
294  void raiseError() const;
295 
300  QString name() const;
301 
305  static QString name( const QgsWmsParameter::Name );
306 
311  static QgsWmsParameter::Name name( const QString &name );
312 
314  int mId = -1;
315  };
316 
324  {
325  Q_GADGET
326 
327  public:
328 
330  enum Format
331  {
332  NONE,
333  JPG,
334  PNG,
335  SVG,
336  PDF,
337  TEXT,
338  XML,
339  HTML,
340  GML,
341  JSON
342  };
343  Q_ENUM( Format )
344 
345 
347  {
349  MODE,
350  LAYERATTRIBUTES,
351  USE_TITLE_AS_LAYERNAME,
352  CODEC,
353  NO_MTEXT,
354  FORCE_2D
355  };
356  Q_ENUM( DxfFormatOption )
357 
358 
362  QgsWmsParameters( const QgsServerParameters &parameters );
363 
368 
369  virtual ~QgsWmsParameters() override = default;
370 
375  QgsWmsParameter operator[]( QgsWmsParameter::Name name ) const;
376 
381  void set( QgsWmsParameter::Name name, const QVariant &value );
382 
386  void dump() const;
387 
392  QString crs() const;
393 
398  QString width() const;
399 
407  int widthAsInt() const;
408 
413  QString height() const;
414 
422  int heightAsInt() const;
423 
429  QString srcWidth() const;
430 
439  int srcWidthAsInt() const;
440 
446  QString srcHeight() const;
447 
456  int srcHeightAsInt() const;
457 
462  QgsProjectVersion versionAsNumber() const;
463 
468  bool versionIsValid( const QString version ) const;
469 
474  QString bbox() const;
475 
482  QgsRectangle bboxAsRectangle() const;
483 
488  QString sldBody() const;
489 
494  QStringList selections() const;
495 
500  QStringList filters() const;
501 
506  QString filterGeom() const;
507 
512  QStringList opacities() const;
513 
521  QList<int> opacitiesAsInt() const;
522 
527  QStringList allLayersNickname() const;
528 
533  QStringList queryLayersNickname() const;
534 
539  QStringList allStyles() const;
540 
545  QList<QgsWmsParametersLayer> layersParameters() const;
546 
552  QString polygonTolerance() const;
553 
559  QString lineTolerance() const;
560 
566  QString pointTolerance() const;
567 
573  int polygonToleranceAsInt() const;
574 
580  int lineToleranceAsInt() const;
581 
587  int pointToleranceAsInt() const;
588 
593  QString formatAsString() const;
594 
599  static QString formatAsString( Format format );
600 
606  Format format() const;
607 
612  QString infoFormatAsString() const;
613 
618  bool infoFormatIsImage() const;
619 
625  QString imageQuality() const;
626 
632  int imageQualityAsInt() const;
633 
639  QString tiled() const;
640 
646  bool tiledAsBool() const;
647 
653  Format infoFormat() const;
654 
660  int infoFormatVersion() const;
661 
666  QString i() const;
667 
675  int iAsInt() const;
676 
681  QString j() const;
682 
690  int jAsInt() const;
691 
696  QString x() const;
697 
705  int xAsInt() const;
706 
711  QString y() const;
712 
720  int yAsInt() const;
721 
726  QString rule() const;
727 
732  QString ruleLabel() const;
733 
740  bool ruleLabelAsBool() const;
741 
746  QString showFeatureCount() const;
747 
754  bool showFeatureCountAsBool() const;
755 
760  QString featureCount() const;
761 
768  int featureCountAsInt() const;
769 
774  QString scale() const;
775 
782  double scaleAsDouble() const;
783 
788  QString boxSpace() const;
789 
796  double boxSpaceAsDouble() const;
797 
802  QString layerSpace() const;
803 
810  double layerSpaceAsDouble() const;
811 
816  QString layerTitleSpace() const;
817 
824  double layerTitleSpaceAsDouble() const;
825 
830  QString symbolSpace() const;
831 
838  double symbolSpaceAsDouble() const;
839 
844  QString iconLabelSpace() const;
845 
852  double iconLabelSpaceAsDouble() const;
853 
858  QString symbolWidth() const;
859 
866  double symbolWidthAsDouble() const;
867 
872  QString symbolHeight() const;
873 
880  double symbolHeightAsDouble() const;
881 
887  QFont layerFont() const;
888 
893  QString layerFontFamily() const;
894 
899  QString layerFontBold() const;
900 
907  bool layerFontBoldAsBool() const;
908 
913  QString layerFontItalic() const;
914 
921  bool layerFontItalicAsBool() const;
922 
927  QString layerFontSize() const;
928 
935  double layerFontSizeAsDouble() const;
936 
941  QString layerFontColor() const;
942 
949  QColor layerFontColorAsColor() const;
950 
956  QFont itemFont() const;
957 
962  QString itemFontFamily() const;
963 
968  QString itemFontBold() const;
969 
976  bool itemFontBoldAsBool() const;
977 
982  QString itemFontItalic() const;
983 
990  bool itemFontItalicAsBool() const;
991 
996  QString itemFontSize() const;
997 
1004  double itemFontSizeAsDouble() const;
1005 
1010  QString itemFontColor() const;
1011 
1018  QColor itemFontColorAsColor() const;
1019 
1024  QString layerTitle() const;
1025 
1032  bool layerTitleAsBool() const;
1033 
1038  QgsLegendSettings legendSettings() const;
1039 
1044  QList<QgsWmsParametersHighlightLayer> highlightLayersParameters() const;
1045 
1050  QList<QgsWmsParametersExternalLayer> externalLayersParameters() const;
1051 
1056  QStringList highlightGeom() const;
1057 
1064  QList<QgsGeometry> highlightGeomAsGeom() const;
1065 
1070  QStringList highlightSymbol() const;
1071 
1076  QStringList highlightLabelString() const;
1077 
1082  QStringList highlightLabelColor() const;
1083 
1090  QList<QColor> highlightLabelColorAsColor() const;
1091 
1096  QStringList highlightLabelSize() const;
1097 
1104  QList<int> highlightLabelSizeAsInt() const;
1105 
1110  QStringList highlightLabelWeight() const;
1111 
1118  QList<int> highlightLabelWeightAsInt() const;
1119 
1124  QStringList highlightLabelFont() const;
1125 
1130  QStringList highlightLabelBufferSize() const;
1131 
1138  QList<double> highlightLabelBufferSizeAsFloat() const;
1139 
1144  QStringList highlightLabelBufferColor() const;
1145 
1152  QList<QColor> highlightLabelBufferColorAsColor() const;
1153 
1158  QString wmsPrecision() const;
1159 
1167  int wmsPrecisionAsInt() const;
1168 
1173  QString transparent() const;
1174 
1182  bool transparentAsBool() const;
1183 
1188  QString backgroundColor() const;
1189 
1197  QColor backgroundColorAsColor() const;
1198 
1203  QString dpi() const;
1204 
1212  double dpiAsDouble() const;
1213 
1218  QString composerTemplate() const;
1219 
1229  QgsWmsParametersComposerMap composerMapParameters( int mapId ) const;
1230 
1236  QString externalWMSUri( const QString &id ) const;
1237 
1242  bool withGeometry() const;
1243 
1248  bool withMapTip() const;
1249 
1254  QString wmtver() const;
1255 
1263  QString layoutParameter( const QString &id, bool &ok ) const;
1264 
1270  QStringList atlasPk() const;
1271 
1276  QMap<DxfFormatOption, QString> dxfFormatOptions() const;
1277 
1282  QStringList dxfLayerAttributes() const;
1283 
1288  bool dxfUseLayerTitleAsName() const;
1289 
1294  double dxfScale() const;
1295 
1300  QgsDxfExport::SymbologyExport dxfMode() const;
1301 
1306  QString dxfCodec() const;
1307 
1312  QMap<QString, QString> dimensionValues() const;
1313 
1320  bool noMText() const;
1321 
1328  bool isForce2D() const;
1329 
1330  private:
1331  static bool isExternalLayer( const QString &name );
1332 
1333  bool loadParameter( const QString &name, const QString &value ) override;
1334 
1335  void save( const QgsWmsParameter &parameter, bool multi = false );
1336 
1337  QgsWmsParameter idParameter( QgsWmsParameter::Name name, int id ) const;
1338 
1339  void raiseError( const QString &msg ) const;
1340  void log( const QString &msg ) const;
1341 
1342  QgsWmsParametersExternalLayer externalLayerParameter( const QString &name ) const;
1343 
1344  QMultiMap<QString, QgsWmsParametersFilter> layerFilters( const QStringList &layers ) const;
1345 
1346 
1347  QMap<QgsWmsParameter::Name, QgsWmsParameter> mWmsParameters;
1348  QMap<QString, QMap<QString, QString> > mExternalWMSParameters;
1349  QList<QgsProjectVersion> mVersions;
1350  };
1351 }
1352 
1353 #endif
QgsWms::QgsWmsParameter::GRID_INTERVAL_X
@ GRID_INTERVAL_X
Definition: qgswmsparameters.h:185
QgsWms::QgsWmsParameter::LAYERFONTSIZE
@ LAYERFONTSIZE
Definition: qgswmsparameters.h:137
QgsWms::QgsWmsParameter::toRectangle
QgsRectangle toRectangle() const
Converts the parameter into a rectangle.
Definition: qgswmsparameters.cpp:69
QgsWms::QgsWmsParameter::loadUrl
QString loadUrl() const
Loads the data associated to the parameter converted into an url.
Definition: qgswmsparameters.cpp:96
QgsWms::QgsWmsParameter::OPACITIES
@ OPACITIES
Definition: qgswmsparameters.h:151
QgsWms::QgsWmsParameters
Provides an interface to retrieve and manipulate WMS parameters received from the client.
Definition: qgswmsparameters.h:336
QgsWms::QgsWmsParameter::mName
QgsWmsParameter::Name mName
Definition: qgswmsparameters.h:326
QgsWms::QgsWmsParameter::name
QString name() const
Returns the name of the parameter.
Definition: qgswmsparameters.cpp:194
QgsWms::QgsWmsParameter::SYMBOLHEIGHT
@ SYMBOLHEIGHT
Definition: qgswmsparameters.h:149
QgsWms::QgsWmsParameter::HIGHLIGHT_LABELFONT
@ HIGHLIGHT_LABELFONT
Definition: qgswmsparameters.h:172
QgsWms::QgsWmsParameter::LAYERFONTCOLOR
@ LAYERFONTCOLOR
Definition: qgswmsparameters.h:138
QgsWms::QgsWmsParameter::QUERY_LAYERS
@ QUERY_LAYERS
Definition: qgswmsparameters.h:143
QgsWms::QgsWmsParameter::FEATURE_COUNT
@ FEATURE_COUNT
Definition: qgswmsparameters.h:144
QgsWms::QgsWmsParametersFilter::Type
Type
Filter type.
Definition: qgswmsparameters.h:63
QgsWms::QgsWmsParametersHighlightLayer::mLabel
QString mLabel
Definition: qgswmsparameters.h:82
QgsWms::QgsWmsParameter::EXTENT
@ EXTENT
Definition: qgswmsparameters.h:183
QgsWms::QgsWmsParameter::FORMAT_OPTIONS
@ FORMAT_OPTIONS
Definition: qgswmsparameters.h:191
QgsDxfExport
Definition: qgsdxfexport.h:62
QgsWms::QgsWmsParametersHighlightLayer::mBufferColor
QColor mBufferColor
Definition: qgswmsparameters.h:88
QgsWms::QgsWmsParametersComposerMap
Definition: qgswmsparameters.h:91
QgsWms::QgsWmsParametersExternalLayer
Definition: qgswmsparameters.h:71
QgsWms::QgsWmsParameter::WITH_GEOMETRY
@ WITH_GEOMETRY
Definition: qgswmsparameters.h:187
QgsWms::QgsWmsParameter::toInt
int toInt() const
Converts the parameter into an integer.
Definition: qgswmsparameters.cpp:83
qgsrectangle.h
QgsWms::QgsWmsParameter::toIntList
QList< int > toIntList(const char delimiter=',') const
Converts the parameter into a list of integers.
Definition: qgswmsparameters.cpp:153
QgsWms::QgsWmsParametersFilter::OGC_FE
@ OGC_FE
Definition: qgswmsparameters.h:80
qgsserverparameters.h
QgsWms::QgsWmsParameter::LAYERFONTBOLD
@ LAYERFONTBOLD
Definition: qgswmsparameters.h:135
QgsWms::QgsWmsParameter::RULELABEL
@ RULELABEL
Definition: qgswmsparameters.h:166
QgsWms::QgsWmsParametersHighlightLayer::mSize
int mSize
Definition: qgswmsparameters.h:84
QgsWms::QgsWmsParametersComposerMap::mLayers
QList< QgsWmsParametersLayer > mLayers
Definition: qgswmsparameters.h:100
QgsWms::QgsWmsParametersComposerMap::mHighlightLayers
QList< QgsWmsParametersHighlightLayer > mHighlightLayers
Definition: qgswmsparameters.h:102
crs
const QgsCoordinateReferenceSystem & crs
Definition: qgswfsgetfeature.cpp:105
QgsWms::QgsWmsParameter::BOXSPACE
@ BOXSPACE
Definition: qgswmsparameters.h:120
QgsWms::QgsWmsParameters::Format
Format
Output format for the response.
Definition: qgswmsparameters.h:343
QgsWms::QgsWmsParametersExternalLayer::mName
QString mName
Definition: qgswmsparameters.h:73
QgsWms::QgsWmsParametersHighlightLayer::mWeight
int mWeight
Definition: qgswmsparameters.h:85
QgsWms::QgsWmsParameter::Y
@ Y
Definition: qgswmsparameters.h:164
QgsWms::QgsWmsParameter::STYLE
@ STYLE
Definition: qgswmsparameters.h:146
QgsWms::QgsWmsParameter::FI_LINE_TOLERANCE
@ FI_LINE_TOLERANCE
Definition: qgswmsparameters.h:155
QgsWms::QgsWmsParameter::ITEMFONTITALIC
@ ITEMFONTITALIC
Definition: qgswmsparameters.h:130
QgsWms::QgsWmsParameter::SHOWFEATURECOUNT
@ SHOWFEATURECOUNT
Definition: qgswmsparameters.h:145
QgsWms::QgsWmsParametersComposerMap::mScale
float mScale
Definition: qgswmsparameters.h:96
QgsWms::QgsWmsParametersLayer::mNickname
QString mNickname
Definition: qgswmsparameters.h:64
QgsWms::QgsWmsParameter::TRANSPARENT
@ TRANSPARENT
Definition: qgswmsparameters.h:179
QgsWms::QgsWmsParametersComposerMap::mRotation
float mRotation
Definition: qgswmsparameters.h:97
QgsWms::QgsWmsParameter::WIDTH
@ WIDTH
Definition: qgswmsparameters.h:123
QgsWms::QgsWmsParameter::INFO_FORMAT
@ INFO_FORMAT
Definition: qgswmsparameters.h:160
QgsWms::QgsWmsParameter::GRID_INTERVAL_Y
@ GRID_INTERVAL_Y
Definition: qgswmsparameters.h:186
QgsWms::QgsWmsParametersLayer::mStyle
QString mStyle
Definition: qgswmsparameters.h:68
QgsWms::QgsWmsParameter::raiseError
void raiseError() const
Raises an error in case of an invalid conversion.
Definition: qgswmsparameters.cpp:44
QgsWms::QgsWmsParametersComposerMap::mGridX
float mGridX
Definition: qgswmsparameters.h:98
QgsWms::QgsWmsParametersLayer
Definition: qgswmsparameters.h:62
QgsRectangle
Definition: qgsrectangle.h:41
QgsWms::QgsWmsParameter::UNKNOWN
@ UNKNOWN
Definition: qgswmsparameters.h:119
QgsWms::QgsWmsParametersHighlightLayer::mFont
QString mFont
Definition: qgswmsparameters.h:86
qgsogcutils.h
QgsWms::QgsWmsParametersFilter
Definition: qgswmsparameters.h:47
QgsWms::QgsWmsParameter::I
@ I
Definition: qgswmsparameters.h:161
QgsWms::QgsWmsParametersHighlightLayer::mName
QString mName
Definition: qgswmsparameters.h:79
QgsWms::QgsWmsParameter::LAYERFONTFAMILY
@ LAYERFONTFAMILY
Definition: qgswmsparameters.h:134
QgsWms::QgsWmsParameter::X
@ X
Definition: qgswmsparameters.h:163
QgsWms::QgsWmsParameter::LAYERSPACE
@ LAYERSPACE
Definition: qgswmsparameters.h:141
QgsWms::QgsWmsParametersComposerMap::mId
int mId
Definition: qgswmsparameters.h:93
QgsWms::QgsWmsParameter::HIGHLIGHT_GEOM
@ HIGHLIGHT_GEOM
Definition: qgswmsparameters.h:169
QgsWms::QgsWmsParameter::SRS
@ SRS
Definition: qgswmsparameters.h:122
QgsWms::QgsWmsParameter::FI_POLYGON_TOLERANCE
@ FI_POLYGON_TOLERANCE
Definition: qgswmsparameters.h:154
QgsWms::QgsWmsParameter::FI_POINT_TOLERANCE
@ FI_POINT_TOLERANCE
Definition: qgswmsparameters.h:156
QgsWms::QgsWmsParameter::LAYER
@ LAYER
Definition: qgswmsparameters.h:133
QgsWms::QgsWmsParametersFilter::UNKNOWN
@ UNKNOWN
Definition: qgswmsparameters.h:78
QgsWms::QgsWmsParameter::IMAGE_QUALITY
@ IMAGE_QUALITY
Definition: qgswmsparameters.h:127
QgsWms::QgsWmsParameter::HIGHLIGHT_LABELBUFFERCOLOR
@ HIGHLIGHT_LABELBUFFERCOLOR
Definition: qgswmsparameters.h:176
QgsWms::QgsWmsParametersComposerMap::mGridY
float mGridY
Definition: qgswmsparameters.h:99
QgsWms::QgsWmsParameter::toColor
QColor toColor() const
Converts the parameter into a color.
Definition: qgswmsparameters.cpp:126
QgsWms::QgsWmsParameter::HIGHLIGHT_SYMBOL
@ HIGHLIGHT_SYMBOL
Definition: qgswmsparameters.h:170
QgsWms::QgsWmsParametersComposerMap::mExternalLayers
QList< QgsWmsParametersExternalLayer > mExternalLayers
Definition: qgswmsparameters.h:101
QgsWms::QgsWmsParameter::WMS_PRECISION
@ WMS_PRECISION
Definition: qgswmsparameters.h:178
QgsWms::QgsWmsParameter::LAYERTITLESPACE
@ LAYERTITLESPACE
Definition: qgswmsparameters.h:142
QgsWms::QgsWmsParametersFilter::SQL
@ SQL
Definition: qgswmsparameters.h:79
QgsServerParameterDefinition
Definition of a parameter with basic conversion methods.
Definition: qgsserverparameters.h:34
QgsWms::QgsWmsParametersFilter::mType
QgsWmsParametersFilter::Type mType
Definition: qgswmsparameters.h:71
QgsWms::QgsWmsParameter::toDoubleList
QList< double > toDoubleList(const char delimiter=',') const
Converts the parameter into a list of doubles.
Definition: qgswmsparameters.cpp:167
QgsWms::QgsWmsParameter::ITEMFONTBOLD
@ ITEMFONTBOLD
Definition: qgswmsparameters.h:129
qgslegendsettings.h
QgsWms::PNG
@ PNG
Definition: qgswmsutils.h:42
QgsWms::QgsWmsParametersHighlightLayer
Definition: qgswmsparameters.h:77
QgsWms::QgsWmsParametersComposerMap::mHasExtent
bool mHasExtent
Definition: qgswmsparameters.h:94
QgsWms::QgsWmsParametersComposerMap::mExtent
QgsRectangle mExtent
Definition: qgswmsparameters.h:95
QgsWms::QgsWmsParameter::toDouble
double toDouble() const
Converts the parameter into a double.
Definition: qgswmsparameters.cpp:181
QgsLegendSettings
The QgsLegendSettings class stores the appearance and layout settings for legend drawing with QgsLege...
Definition: qgslegendsettings.h:38
QgsWms::QgsWmsParameter::SCALE
@ SCALE
Definition: qgswmsparameters.h:167
QgsWms::QgsWmsParameter::SLD
@ SLD
Definition: qgswmsparameters.h:152
QgsWms::QgsWmsParametersLayer::mSelection
QStringList mSelection
Definition: qgswmsparameters.h:67
QgsWms::QgsWmsParameter::HIGHLIGHT_LABELSTRING
@ HIGHLIGHT_LABELSTRING
Definition: qgswmsparameters.h:171
QgsWms::QgsWmsParameter::ROTATION
@ ROTATION
Definition: qgswmsparameters.h:184
QgsWms::QgsWmsParametersFilter::mVersion
QgsOgcUtils::FilterVersion mVersion
Definition: qgswmsparameters.h:72
QgsWms::QgsWmsParameter::toUrl
QUrl toUrl() const
Converts the parameter into an url.
Definition: qgswmsparameters.cpp:113
QgsWms::QgsWmsParametersHighlightLayer::mBufferSize
float mBufferSize
Definition: qgswmsparameters.h:87
QgsWms::QgsWmsParameter::TEMPLATE
@ TEMPLATE
Definition: qgswmsparameters.h:182
QgsWms::QgsWmsParametersFilter::mFilter
QString mFilter
Definition: qgswmsparameters.h:70
QgsWms::QgsWmsParameter::ATLAS_PK
@ ATLAS_PK
Definition: qgswmsparameters.h:190
QgsWms::QgsWmsParameter::BBOX
@ BBOX
Definition: qgswmsparameters.h:125
QgsWms::QgsWmsParameter::ITEMFONTFAMILY
@ ITEMFONTFAMILY
Definition: qgswmsparameters.h:128
QgsWms::QgsWmsParameter::ITEMFONTSIZE
@ ITEMFONTSIZE
Definition: qgswmsparameters.h:131
QgsWms::QgsWmsParameter::LAYERTITLE
@ LAYERTITLE
Definition: qgswmsparameters.h:139
QgsWms::QgsWmsParameter::FILTER_GEOM
@ FILTER_GEOM
Definition: qgswmsparameters.h:158
QgsOgcUtils::FilterVersion
FilterVersion
OGC filter version.
Definition: qgsogcutils.h:177
QgsWms::QgsWmsParametersHighlightLayer::mGeom
QgsGeometry mGeom
Definition: qgswmsparameters.h:80
QgsWms
WMS implementation.
Definition: qgsdxfwriter.cpp:22
QgsWms::QgsWmsParameter::BGCOLOR
@ BGCOLOR
Definition: qgswmsparameters.h:180
QgsWms::QgsWmsParameter::toGeomList
QList< QgsGeometry > toGeomList(const char delimiter=',') const
Converts the parameter into a list of geometries.
Definition: qgswmsparameters.cpp:55
QgsWms::QgsWmsParameter::TILED
@ TILED
Definition: qgswmsparameters.h:194
QgsWms::QgsWmsParameter::LAYERS
@ LAYERS
Definition: qgswmsparameters.h:140
QgsWms::QgsWmsParameter::J
@ J
Definition: qgswmsparameters.h:162
QgsGeometry
Definition: qgsgeometry.h:122
QgsWms::QgsWmsParameter::HIGHLIGHT_LABELSIZE
@ HIGHLIGHT_LABELSIZE
Definition: qgswmsparameters.h:173
QgsWms::QgsWmsParameter::WITH_MAPTIP
@ WITH_MAPTIP
Definition: qgswmsparameters.h:188
QgsWms::QgsWmsParameter::HIGHLIGHT_LABELWEIGHT
@ HIGHLIGHT_LABELWEIGHT
Definition: qgswmsparameters.h:174
QgsWms::QgsWmsParameter::isValid
bool isValid() const override
Returns true if the parameter is valid, false otherwise.
Definition: qgswmsparameters.cpp:39
QgsWms::QgsWmsParameter::HIGHLIGHT_LABELBUFFERSIZE
@ HIGHLIGHT_LABELBUFFERSIZE
Definition: qgswmsparameters.h:177
QgsWms::QgsWmsParameter::toStyleList
QStringList toStyleList(const char delimiter=',') const
Converts the parameter into a list of strings and keeps empty parts Default style value is an empty s...
Definition: qgswmsparameters.cpp:50
QgsWms::QgsWmsParameter::FORMAT
@ FORMAT
Definition: qgswmsparameters.h:159
QgsWms::QgsWmsParameter::SLD_BODY
@ SLD_BODY
Definition: qgswmsparameters.h:153
QgsWms::QgsWmsParameter::WMTVER
@ WMTVER
Definition: qgswmsparameters.h:189
QgsWms::QgsWmsParameter::SYMBOLWIDTH
@ SYMBOLWIDTH
Definition: qgswmsparameters.h:150
QgsWms::QgsWmsParameter::SRCHEIGHT
@ SRCHEIGHT
Definition: qgswmsparameters.h:193
QgsWms::QgsWmsParameter
WMS parameter received from the client.
Definition: qgswmsparameters.h:111
QgsWms::QgsWmsParametersHighlightLayer::mSld
QString mSld
Definition: qgswmsparameters.h:81
qgsdxfexport.h
QgsWms::QgsWmsParameter::DPI
@ DPI
Definition: qgswmsparameters.h:181
QgsWms::QgsWmsParameter::SRCWIDTH
@ SRCWIDTH
Definition: qgswmsparameters.h:192
QgsServerParameters
QgsServerParameters provides an interface to retrieve and manipulate global parameters received from ...
Definition: qgsserverparameters.h:228
QgsWms::QgsWmsParametersHighlightLayer::mColor
QColor mColor
Definition: qgswmsparameters.h:83
QgsWms::QgsWmsParameter::toColorList
QList< QColor > toColorList(const char delimiter=',') const
Converts the parameter into a list of colors.
Definition: qgswmsparameters.cpp:139
QgsWms::QgsWmsParameter::SYMBOLSPACE
@ SYMBOLSPACE
Definition: qgswmsparameters.h:148
QgsWms::QgsWmsParameter::HEIGHT
@ HEIGHT
Definition: qgswmsparameters.h:124
QgsWms::QgsWmsParameter::ICONLABELSPACE
@ ICONLABELSPACE
Definition: qgswmsparameters.h:126
QgsWms::QgsWmsParameter::RULE
@ RULE
Definition: qgswmsparameters.h:165
qgsprojectversion.h
QgsWms::QgsWmsParametersLayer::mOpacity
int mOpacity
Definition: qgswmsparameters.h:65
QgsWms::QgsWmsParameter::ITEMFONTCOLOR
@ ITEMFONTCOLOR
Definition: qgswmsparameters.h:132
QgsWms::QgsWmsParameter::HIGHLIGHT_LABELCOLOR
@ HIGHLIGHT_LABELCOLOR
Definition: qgswmsparameters.h:175
QgsWms::QgsWmsParameter::CRS
@ CRS
Definition: qgswmsparameters.h:121
QgsWms::QgsWmsParameter::mId
int mId
Definition: qgswmsparameters.h:327
QgsWms::QgsWmsParameter::Name
Name
Available parameters for WMS requests.
Definition: qgswmsparameters.h:117
QgsWms::QgsWmsParameters::DxfFormatOption
DxfFormatOption
Options for DXF format.
Definition: qgswmsparameters.h:359
QgsWms::QgsWmsParameter::FILTER
@ FILTER
Definition: qgswmsparameters.h:157
QgsWms::QgsWmsParameter::STYLES
@ STYLES
Definition: qgswmsparameters.h:147
QgsProjectVersion
Definition: qgsprojectversion.h:32
QgsWms::QgsWmsParametersExternalLayer::mUri
QString mUri
Definition: qgswmsparameters.h:74
QgsWms::QgsWmsParametersLayer::mFilter
QList< QgsWmsParametersFilter > mFilter
Definition: qgswmsparameters.h:66
QgsOgcUtils::FILTER_OGC_1_0
@ FILTER_OGC_1_0
Definition: qgsogcutils.h:179
QgsWms::QgsWmsParameter::SELECTION
@ SELECTION
Definition: qgswmsparameters.h:168
QgsWms::QgsWmsParameter::LAYERFONTITALIC
@ LAYERFONTITALIC
Definition: qgswmsparameters.h:136