@@ -40,312 +40,312 @@ namespace QgsServerProjectUtils
40
40
41
41
/* *
42
42
* Returns if owsService capabilities are enabled.
43
- * \param project the QGIS project
44
- * \returns if owsService capabilities are enabled.
45
- */
43
+ * \param project the QGIS project
44
+ * \returns if owsService capabilities are enabled.
45
+ */
46
46
SERVER_EXPORT bool owsServiceCapabilities ( const QgsProject &project );
47
47
48
48
/* *
49
49
* Returns the owsService title defined in project.
50
- * \param project the QGIS project
51
- * \returns the owsService title if defined in project.
52
- */
50
+ * \param project the QGIS project
51
+ * \returns the owsService title if defined in project.
52
+ */
53
53
SERVER_EXPORT QString owsServiceTitle ( const QgsProject &project );
54
54
55
55
/* *
56
56
* Returns the owsService abstract defined in project.
57
- * \param project the QGIS project
58
- * \returns the owsService abstract if defined in project.
59
- */
57
+ * \param project the QGIS project
58
+ * \returns the owsService abstract if defined in project.
59
+ */
60
60
SERVER_EXPORT QString owsServiceAbstract ( const QgsProject &project );
61
61
62
62
/* *
63
63
* Returns the owsService keywords defined in project.
64
- * \param project the QGIS project
65
- * \returns the owsService keywords if defined in project.
66
- */
64
+ * \param project the QGIS project
65
+ * \returns the owsService keywords if defined in project.
66
+ */
67
67
SERVER_EXPORT QStringList owsServiceKeywords ( const QgsProject &project );
68
68
69
69
/* *
70
70
* Returns the owsService online resource defined in project.
71
- * \param project the QGIS project
72
- * \returns the owsService online resource if defined in project.
73
- */
71
+ * \param project the QGIS project
72
+ * \returns the owsService online resource if defined in project.
73
+ */
74
74
SERVER_EXPORT QString owsServiceOnlineResource ( const QgsProject &project );
75
75
76
76
/* *
77
77
* Returns the owsService contact organization defined in project.
78
- * \param project the QGIS project
79
- * \returns the owsService contact organization if defined in project.
80
- */
78
+ * \param project the QGIS project
79
+ * \returns the owsService contact organization if defined in project.
80
+ */
81
81
SERVER_EXPORT QString owsServiceContactOrganization ( const QgsProject &project );
82
82
83
83
/* *
84
84
* Returns the owsService contact position defined in project.
85
- * \param project the QGIS project
86
- * \returns the owsService contact position if defined in project.
87
- */
85
+ * \param project the QGIS project
86
+ * \returns the owsService contact position if defined in project.
87
+ */
88
88
SERVER_EXPORT QString owsServiceContactPosition ( const QgsProject &project );
89
89
90
90
/* *
91
91
* Returns the owsService contact person defined in project.
92
- * \param project the QGIS project
93
- * \returns the owsService contact person if defined in project.
94
- */
92
+ * \param project the QGIS project
93
+ * \returns the owsService contact person if defined in project.
94
+ */
95
95
SERVER_EXPORT QString owsServiceContactPerson ( const QgsProject &project );
96
96
97
97
/* *
98
98
* Returns the owsService contact mail defined in project.
99
- * \param project the QGIS project
100
- * \returns the owsService contact mail if defined in project.
101
- */
99
+ * \param project the QGIS project
100
+ * \returns the owsService contact mail if defined in project.
101
+ */
102
102
SERVER_EXPORT QString owsServiceContactMail ( const QgsProject &project );
103
103
104
104
/* *
105
105
* Returns the owsService contact phone defined in project.
106
- * \param project the QGIS project
107
- * \returns the owsService contact phone if defined in project.
108
- */
106
+ * \param project the QGIS project
107
+ * \returns the owsService contact phone if defined in project.
108
+ */
109
109
SERVER_EXPORT QString owsServiceContactPhone ( const QgsProject &project );
110
110
111
111
/* *
112
112
* Returns the owsService fees defined in project.
113
- * \param project the QGIS project
114
- * \returns the owsService fees if defined in project.
115
- */
113
+ * \param project the QGIS project
114
+ * \returns the owsService fees if defined in project.
115
+ */
116
116
SERVER_EXPORT QString owsServiceFees ( const QgsProject &project );
117
117
118
118
/* *
119
119
* Returns the owsService access constraints defined in project.
120
- * \param project the QGIS project
121
- * \returns the owsService access constraints if defined in project.
122
- */
120
+ * \param project the QGIS project
121
+ * \returns the owsService access constraints if defined in project.
122
+ */
123
123
SERVER_EXPORT QString owsServiceAccessConstraints ( const QgsProject &project );
124
124
125
125
/* *
126
126
* Returns the maximum width for WMS images defined in a QGIS project.
127
- * \param project the QGIS project
128
- * \returns width if defined in project, -1 otherwise.
129
- */
127
+ * \param project the QGIS project
128
+ * \returns width if defined in project, -1 otherwise.
129
+ */
130
130
SERVER_EXPORT int wmsMaxWidth ( const QgsProject &project );
131
131
132
132
/* *
133
133
* Returns the maximum height for WMS images defined in a QGIS project.
134
- * \param project the QGIS project
135
- * \returns height if defined in project, -1 otherwise.
136
- */
134
+ * \param project the QGIS project
135
+ * \returns height if defined in project, -1 otherwise.
136
+ */
137
137
SERVER_EXPORT int wmsMaxHeight ( const QgsProject &project );
138
138
139
139
/* *
140
140
* Returns the quality for WMS images defined in a QGIS project.
141
- * \param project the QGIS project
142
- * \returns quality if defined in project, -1 otherwise.
143
- */
141
+ * \param project the QGIS project
142
+ * \returns quality if defined in project, -1 otherwise.
143
+ */
144
144
SERVER_EXPORT int wmsImageQuality ( const QgsProject &project );
145
145
146
146
/* *
147
147
* Returns if layer ids are used as name in WMS.
148
- * \param project the QGIS project
149
- * \returns if layer ids are used as name.
150
- */
148
+ * \param project the QGIS project
149
+ * \returns if layer ids are used as name.
150
+ */
151
151
SERVER_EXPORT bool wmsUseLayerIds ( const QgsProject &project );
152
152
153
153
/* *
154
154
* Returns if the info format is SIA20145.
155
- * \param project the QGIS project
156
- * \returns if the info format is SIA20145.
157
- */
155
+ * \param project the QGIS project
156
+ * \returns if the info format is SIA20145.
157
+ */
158
158
SERVER_EXPORT bool wmsInfoFormatSia2045 ( const QgsProject &project );
159
159
160
160
/* *
161
161
* Returns if the geometry is displayed as Well Known Text in GetFeatureInfo request.
162
- * \param project the QGIS project
163
- * \returns if the geometry is displayed as Well Known Text in GetFeatureInfo request.
164
- */
162
+ * \param project the QGIS project
163
+ * \returns if the geometry is displayed as Well Known Text in GetFeatureInfo request.
164
+ */
165
165
SERVER_EXPORT bool wmsFeatureInfoAddWktGeometry ( const QgsProject &project );
166
166
167
167
/* *
168
168
* Returns if the geometry has to be segmentize in GetFeatureInfo request.
169
- * \param project the QGIS project
170
- * \returns if the geometry has to be segmentize in GetFeatureInfo request.
171
- */
169
+ * \param project the QGIS project
170
+ * \returns if the geometry has to be segmentize in GetFeatureInfo request.
171
+ */
172
172
SERVER_EXPORT bool wmsFeatureInfoSegmentizeWktGeometry ( const QgsProject &project );
173
173
174
174
/* *
175
175
* Returns the geometry precision for GetFeatureInfo request.
176
- * \param project the QGIS project
177
- * \returns the geometry precision for GetFeatureInfo request.
178
- */
176
+ * \param project the QGIS project
177
+ * \returns the geometry precision for GetFeatureInfo request.
178
+ */
179
179
SERVER_EXPORT int wmsFeatureInfoPrecision ( const QgsProject &project );
180
180
181
181
/* *
182
182
* Returns the document element name for XML GetFeatureInfo request.
183
- * \param project the QGIS project
184
- * \returns the document element name for XML GetFeatureInfo request.
185
- */
183
+ * \param project the QGIS project
184
+ * \returns the document element name for XML GetFeatureInfo request.
185
+ */
186
186
SERVER_EXPORT QString wmsFeatureInfoDocumentElement ( const QgsProject &project );
187
187
188
188
/* *
189
189
* Returns the document element namespace for XML GetFeatureInfo request.
190
- * \param project the QGIS project
191
- * \returns the document element namespace for XML GetFeatureInfo request.
192
- */
190
+ * \param project the QGIS project
191
+ * \returns the document element namespace for XML GetFeatureInfo request.
192
+ */
193
193
SERVER_EXPORT QString wmsFeatureInfoDocumentElementNs ( const QgsProject &project );
194
194
195
195
/* *
196
196
* Returns the schema URL for XML GetFeatureInfo request.
197
- * \param project the QGIS project
198
- * \returns the schema URL for XML GetFeatureInfo request.
199
- */
197
+ * \param project the QGIS project
198
+ * \returns the schema URL for XML GetFeatureInfo request.
199
+ */
200
200
SERVER_EXPORT QString wmsFeatureInfoSchema ( const QgsProject &project );
201
201
202
202
/* *
203
203
* Returns the mapping between layer name and wms layer name for GetFeatureInfo request.
204
- * \param project the QGIS project
205
- * \returns the mapping between layer name and wms layer name for GetFeatureInfo request.
206
- */
204
+ * \param project the QGIS project
205
+ * \returns the mapping between layer name and wms layer name for GetFeatureInfo request.
206
+ */
207
207
SERVER_EXPORT QHash<QString, QString> wmsFeatureInfoLayerAliasMap ( const QgsProject &project );
208
208
209
209
/* *
210
210
* Returns if Inspire is activated.
211
- * \param project the QGIS project
212
- * \returns if Inspire is activated.
213
- */
211
+ * \param project the QGIS project
212
+ * \returns if Inspire is activated.
213
+ */
214
214
SERVER_EXPORT bool wmsInspireActivate ( const QgsProject &project );
215
215
216
216
/* *
217
217
* Returns the Inspire language.
218
- * \param project the QGIS project
219
- * \returns the Inspire language if defined in project.
220
- */
218
+ * \param project the QGIS project
219
+ * \returns the Inspire language if defined in project.
220
+ */
221
221
SERVER_EXPORT QString wmsInspireLanguage ( const QgsProject &project );
222
222
223
223
/* *
224
224
* Returns the Inspire metadata URL.
225
- * \param project the QGIS project
226
- * \returns the Inspire metadata URL if defined in project.
227
- */
225
+ * \param project the QGIS project
226
+ * \returns the Inspire metadata URL if defined in project.
227
+ */
228
228
SERVER_EXPORT QString wmsInspireMetadataUrl ( const QgsProject &project );
229
229
230
230
/* *
231
231
* Returns the Inspire metadata URL type.
232
- * \param project the QGIS project
233
- * \returns the Inspire metadata URL type if defined in project.
234
- */
232
+ * \param project the QGIS project
233
+ * \returns the Inspire metadata URL type if defined in project.
234
+ */
235
235
SERVER_EXPORT QString wmsInspireMetadataUrlType ( const QgsProject &project );
236
236
237
237
/* *
238
238
* Returns the Inspire temporal reference.
239
- * \param project the QGIS project
240
- * \returns the Inspire temporal reference if defined in project.
241
- */
239
+ * \param project the QGIS project
240
+ * \returns the Inspire temporal reference if defined in project.
241
+ */
242
242
SERVER_EXPORT QString wmsInspireTemporalReference ( const QgsProject &project );
243
243
244
244
/* *
245
245
* Returns the Inspire metadata date.
246
- * \param project the QGIS project
247
- * \returns the Inspire metadata date if defined in project.
248
- */
246
+ * \param project the QGIS project
247
+ * \returns the Inspire metadata date if defined in project.
248
+ */
249
249
SERVER_EXPORT QString wmsInspireMetadataDate ( const QgsProject &project );
250
250
251
251
/* *
252
252
* Returns the restricted composer list.
253
- * \param project the QGIS project
254
- * \returns the restricted composer list if defined in project.
255
- */
253
+ * \param project the QGIS project
254
+ * \returns the restricted composer list if defined in project.
255
+ */
256
256
SERVER_EXPORT QStringList wmsRestrictedComposers ( const QgsProject &project );
257
257
258
258
/* *
259
259
* Returns the WMS service url defined in a QGIS project.
260
- * \param project the QGIS project
261
- * \returns url if defined in project, an empty string otherwise.
262
- */
260
+ * \param project the QGIS project
261
+ * \returns url if defined in project, an empty string otherwise.
262
+ */
263
263
SERVER_EXPORT QString wmsServiceUrl ( const QgsProject &project );
264
264
265
265
/* *
266
266
* Returns the WMS root layer name defined in a QGIS project.
267
- * \param project the QGIS project
268
- * \returns root layer name if defined in project, an empty string otherwise.
269
- */
267
+ * \param project the QGIS project
268
+ * \returns root layer name if defined in project, an empty string otherwise.
269
+ */
270
270
SERVER_EXPORT QString wmsRootName ( const QgsProject &project );
271
271
272
272
/* *
273
273
* Returns the restricted layer name list.
274
- * \param project the QGIS project
275
- * \returns the restricted layer name list if defined in project.
276
- */
274
+ * \param project the QGIS project
275
+ * \returns the restricted layer name list if defined in project.
276
+ */
277
277
SERVER_EXPORT QStringList wmsRestrictedLayers ( const QgsProject &project );
278
278
279
279
/* *
280
280
* Returns the WMS output CRS list.
281
- * \param project the QGIS project
282
- * \returns the WMS output CRS list.
283
- */
281
+ * \param project the QGIS project
282
+ * \returns the WMS output CRS list.
283
+ */
284
284
SERVER_EXPORT QStringList wmsOutputCrsList ( const QgsProject &project );
285
285
286
286
/* *
287
287
* Returns the WMS Extent restriction.
288
- * \param project the QGIS project
289
- * \returns the WMS Extent restriction.
290
- */
288
+ * \param project the QGIS project
289
+ * \returns the WMS Extent restriction.
290
+ */
291
291
SERVER_EXPORT QgsRectangle wmsExtent ( const QgsProject &project );
292
292
293
293
/* *
294
294
* Returns the WFS service url defined in a QGIS project.
295
- * \param project the QGIS project
296
- * \returns url if defined in project, an empty string otherwise.
297
- */
295
+ * \param project the QGIS project
296
+ * \returns url if defined in project, an empty string otherwise.
297
+ */
298
298
SERVER_EXPORT QString wfsServiceUrl ( const QgsProject &project );
299
299
300
300
/* *
301
301
* Returns the Layer ids list defined in a QGIS project as published in WFS.
302
- * \param project the QGIS project
303
- * \return the Layer ids list.
304
- */
302
+ * \param project the QGIS project
303
+ * \return the Layer ids list.
304
+ */
305
305
SERVER_EXPORT QStringList wfsLayerIds ( const QgsProject &project );
306
306
307
307
/* *
308
308
* Returns the Layer precision defined in a QGIS project for the WFS GetFeature.
309
- * \param project the QGIS project
310
- * \param layerId the layer id in the project
311
- * \return the layer precision for WFS GetFeature.
312
- */
309
+ * \param project the QGIS project
310
+ * \param layerId the layer id in the project
311
+ * \return the layer precision for WFS GetFeature.
312
+ */
313
313
314
314
SERVER_EXPORT int wfsLayerPrecision ( const QgsProject &project, const QString &layerId );
315
315
316
316
/* *
317
317
* Returns the Layer ids list defined in a QGIS project as published as WFS-T with update capabilities.
318
- * \param project the QGIS project
319
- * \return the Layer ids list.
320
- */
318
+ * \param project the QGIS project
319
+ * \return the Layer ids list.
320
+ */
321
321
SERVER_EXPORT QStringList wfstUpdateLayerIds ( const QgsProject &project );
322
322
323
323
/* *
324
324
* Returns the Layer ids list defined in a QGIS project as published as WFS-T with insert capabilities.
325
- * \param project the QGIS project
326
- * \return the Layer ids list.
327
- */
325
+ * \param project the QGIS project
326
+ * \return the Layer ids list.
327
+ */
328
328
SERVER_EXPORT QStringList wfstInsertLayerIds ( const QgsProject &project );
329
329
330
330
/* *
331
331
* Returns the Layer ids list defined in a QGIS project as published as WFS-T with delete capabilities.
332
- * \param project the QGIS project
333
- * \return the Layer ids list.
334
- */
332
+ * \param project the QGIS project
333
+ * \return the Layer ids list.
334
+ */
335
335
SERVER_EXPORT QStringList wfstDeleteLayerIds ( const QgsProject &project );
336
336
337
337
/* *
338
338
* Returns the WCS service url defined in a QGIS project.
339
- * \param project the QGIS project
340
- * \returns url if defined in project, an empty string otherwise.
341
- */
339
+ * \param project the QGIS project
340
+ * \returns url if defined in project, an empty string otherwise.
341
+ */
342
342
SERVER_EXPORT QString wcsServiceUrl ( const QgsProject &project );
343
343
344
344
/* *
345
345
* Returns the Layer ids list defined in a QGIS project as published in WCS.
346
- * \param project the QGIS project
347
- * \returns the Layer ids list.
348
- */
346
+ * \param project the QGIS project
347
+ * \returns the Layer ids list.
348
+ */
349
349
SERVER_EXPORT QStringList wcsLayerIds ( const QgsProject &project );
350
350
351
351
/* *
0 commit comments