/
qgswfsconstants.h
69 lines (61 loc) · 2.63 KB
/
qgswfsconstants.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/***************************************************************************
qgswfsconstants.h
---------------------
begin : February 2016
copyright : (C) 2016 by Even Rouault
email : even.rouault at spatialys.com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSWFSCONSTANTS_H
#define QGSWFSCONSTANTS_H
#include <QString>
struct QgsWFSConstants
{
static const QString GML_NAMESPACE;
static const QString OGC_NAMESPACE;
static const QString OWS_NAMESPACE;
static const QString WFS_NAMESPACE;
static const QString XMLSCHEMA_NAMESPACE;
// URI parameters
static const QString URI_PARAM_URL;
static const QString URI_PARAM_USERNAME;
// QgsDataSourceURI recognizes "user" instead of "username"
// we are going to check both
static const QString URI_PARAM_USER;
static const QString URI_PARAM_PASSWORD;
static const QString URI_PARAM_AUTHCFG;
static const QString URI_PARAM_VERSION;
static const QString URI_PARAM_TYPENAME;
static const QString URI_PARAM_SRSNAME;
static const QString URI_PARAM_FILTER;
static const QString URI_PARAM_OUTPUTFORMAT;
static const QString URI_PARAM_BBOX;
static const QString URI_PARAM_RESTRICT_TO_REQUEST_BBOX;
static const QString URI_PARAM_MAXNUMFEATURES;
static const QString URI_PARAM_IGNOREAXISORIENTATION;
static const QString URI_PARAM_INVERTAXISORIENTATION;
static const QString URI_PARAM_VALIDATESQLFUNCTIONS;
static const QString URI_PARAM_HIDEDOWNLOADPROGRESSDIALOG;
static const QString URI_PARAM_PAGING_ENABLED;
static const QString URI_PARAM_PAGE_SIZE;
//
static const QString VERSION_AUTO;
// Settings
static const QString CONNECTIONS_WFS;
static const QString SETTINGS_VERSION;
static const QString SETTINGS_MAXNUMFEATURES;
static const QString SETTINGS_PAGING_ENABLED;
static const QString SETTINGS_PAGE_SIZE;
// Special fields of the cache
static const QString FIELD_GEN_COUNTER;
static const QString FIELD_GMLID;
static const QString FIELD_HEXWKB_GEOM;
static const QString FIELD_MD5;
};
#endif // QGSWFSCONSTANTS_H