Skip to content
Permalink
Browse files

Update doc for QgsWmsParameters

  • Loading branch information
pblottiere committed Jul 9, 2018
1 parent 1286320 commit 66c78f7806e87d9a7bfe87bdcc1a4903637e84a7
Showing with 73 additions and 73 deletions.
  1. +73 −73 src/server/services/wms/qgswmsparameters.h
@@ -78,84 +78,86 @@ namespace QgsWms
Q_GADGET

public:
//! Available parameters for WMS requests
enum ParameterName
{
BOXSPACE,
CRS, // instead of SRS for WMS 1.3.0
SRS, // for WMS 1.1.1
WIDTH,
HEIGHT,
BBOX,
ICONLABELSPACE,
ITEMFONTFAMILY,
ITEMFONTBOLD,
ITEMFONTITALIC,
ITEMFONTSIZE,
ITEMFONTCOLOR,
LAYER,
LAYERFONTFAMILY,
LAYERFONTBOLD,
LAYERFONTITALIC,
LAYERFONTSIZE,
LAYERFONTCOLOR,
LAYERTITLE,
LAYERS,
LAYERSPACE,
LAYERTITLESPACE,
QUERY_LAYERS,
FEATURE_COUNT,
SHOWFEATURECOUNT,
STYLE,
STYLES,
SYMBOLSPACE,
SYMBOLHEIGHT,
SYMBOLWIDTH,
OPACITIES,
SLD,
FILTER,
FILTER_GEOM,
FORMAT,
INFO_FORMAT,
I,
J,
X,
Y,
RULE,
RULELABEL,
SCALE,
SELECTION,
HIGHLIGHT_GEOM,
HIGHLIGHT_SYMBOL,
HIGHLIGHT_LABELSTRING,
HIGHLIGHT_LABELFONT,
HIGHLIGHT_LABELSIZE,
HIGHLIGHT_LABELWEIGHT,
HIGHLIGHT_LABELCOLOR,
HIGHLIGHT_LABELBUFFERCOLOR,
HIGHLIGHT_LABELBUFFERSIZE,
WMS_PRECISION,
TRANSPARENT,
BGCOLOR,
DPI,
TEMPLATE,
EXTENT,
ROTATION,
GRID_INTERVAL_X,
GRID_INTERVAL_Y,
WITH_GEOMETRY,
WITH_MAPTIP
BOXSPACE, //!< BOXSPACE parameter
CRS, //!< Instead of SRS for WMS 1.3.0
SRS, //!< For WMS 1.1.1
WIDTH, //!< With of the resulting image
HEIGHT, //!< Height of the resulting image
BBOX, //!< BBOX parameter
ICONLABELSPACE, //!< ICONLABELSPACE parameter
ITEMFONTFAMILY, //!< ITEMFONTFAMILY parameter
ITEMFONTBOLD, //!< ITEMFONTBOLD parameter
ITEMFONTITALIC, //!< ITEMFONTITALIC parameter
ITEMFONTSIZE, //!< Parameter
ITEMFONTCOLOR, //!< Parameter
LAYER, //!< Parameter
LAYERFONTFAMILY, //!< LAYERFONTFAMILY parameter
LAYERFONTBOLD, //!< LAYERFONTBOLD parameter
LAYERFONTITALIC, //!< LAYERFONTITALIC parameter
LAYERFONTSIZE, //!< LAYERFONTSIZE parameter
LAYERFONTCOLOR, //!< LAYERFONTCOLOR parameter
LAYERTITLE, //!< LAYERTITLE parameter
LAYERS, //!< LAYERS parameter
LAYERSPACE, //!< LAYERSPACE parameter
LAYERTITLESPACE, //!< LAYERTITLESPACE parameter
QUERY_LAYERS, //!< QUERY_LAYERS parameter
FEATURE_COUNT, //!< FEATURE_COUNT parameter
SHOWFEATURECOUNT, //!< SHOWFEATURECOUNT parameter
STYLE, //!< STYLE parameter
STYLES, //!< STYLES parameter
SYMBOLSPACE, //!< SYMBOLSPACE parameter
SYMBOLHEIGHT, //!< SYMBOLHEIGHT parameter
SYMBOLWIDTH, //!< SYMBOLWIDTH parameter
OPACITIES, //!< OPACITIES parameter
SLD, //!< SLD parameter
FILTER, //!< FILTER parameter
FILTER_GEOM, //!< FILTER_GEOM parameter
FORMAT, //!< FORMAT parameter
INFO_FORMAT, //!< INFO_FORMAT parameter
I, //!< I parameter
J, //!< J parameter
X, //!< X parameter
Y, //!< Y parameter
RULE, //!< RULE parameter
RULELABEL, //!< RULELABEL parameter
SCALE, //!< SCALE parameter
SELECTION, //!< SELECTION parameter
HIGHLIGHT_GEOM, //!< HIGHLIGHT_GEOM parameter
HIGHLIGHT_SYMBOL, //!< HIGHLIGHT_SYMBOL parameter
HIGHLIGHT_LABELSTRING, //!< HIGHLIGHT_LABELSTRING parameter
HIGHLIGHT_LABELFONT, //!< HIGHLIGHT_LABELFONT parameter
HIGHLIGHT_LABELSIZE, //!< HIGHLIGHT_LABELSIZE parameter
HIGHLIGHT_LABELWEIGHT, //!< HIGHLIGHT_LABELWEIGHT parameter
HIGHLIGHT_LABELCOLOR, //!< HIGHLIGHT_LABELCOLOR parameter
HIGHLIGHT_LABELBUFFERCOLOR, //!< HIGHLIGHT_LABELBUFFERCOLOR parameter
HIGHLIGHT_LABELBUFFERSIZE, //!< HIGHLIGHT_LABELBUFFERSIZE parameter
WMS_PRECISION, //!< WMS_PRECISION parameter
TRANSPARENT, //!< TRANSPARENT parameter
BGCOLOR, //!< BGCOLOR parameter
DPI, //!< DPI parameter
TEMPLATE, //!< TEMPLATE parameter
EXTENT, //!< EXTENT parameter
ROTATION, //!< ROTATION parameter
GRID_INTERVAL_X, //!< GRID_INTERVAL_X parameter
GRID_INTERVAL_Y, //!< GRID_INTERVAL_Y parameter
WITH_GEOMETRY, //!< WITH_GEOMETRY parameter
WITH_MAPTIP //!< WITH_MAPTIP parameter
};
Q_ENUM( ParameterName )

//! Output format
enum Format
{
NONE,
JPG,
PNG,
TEXT,
XML,
HTML,
GML
NONE, //!< NONE
JPG, //!< JPEG format
PNG, //!< PNG format
TEXT, //!< TEXT format
XML, //!< XML format
HTML, //!< HTML format
GML //!< GML format
};

struct Parameter
@@ -224,8 +226,6 @@ namespace QgsWms
*/
int heightAsInt() const;

bool fake() { return true; }

/**
* Returns VERSION parameter as a string or an empty string if not
* defined.

0 comments on commit 66c78f7

Please sign in to comment.
You can’t perform that action at this time.