Skip to content

Commit ca29b22

Browse files
committedMay 20, 2017
[Server] Update QgsServerProjectUtils SIP file
1 parent 33b4582 commit ca29b22

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed
 

‎python/server/qgsserverprojectutils.sip

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,90 @@ namespace QgsServerProjectUtils
111111
*/
112112
int wmsMaxHeight( const QgsProject &project );
113113

114+
/** Returns if layer ids are used as name in WMS.
115+
* \param project the QGIS project
116+
* \returns if layer ids are used as name.
117+
*/
118+
bool wmsUseLayerIds( const QgsProject &project );
119+
120+
/** Returns if the info format is SIA20145.
121+
* \param project the QGIS project
122+
* \returns if the info format is SIA20145.
123+
*/
124+
bool wmsInfoFormatSIA2045( const QgsProject &project );
125+
126+
/** Returns if Inspire is activated.
127+
* \param project the QGIS project
128+
* \returns if Inspire is activated.
129+
*/
130+
bool wmsInspireActivated( const QgsProject &project );
131+
132+
/** Returns the Inspire language.
133+
* \param project the QGIS project
134+
* \returns the Inspire language if defined in project.
135+
*/
136+
QString wmsInspireLanguage( const QgsProject &project );
137+
138+
/** Returns the Inspire metadata URL.
139+
* \param project the QGIS project
140+
* \returns the Inspire metadata URL if defined in project.
141+
*/
142+
QString wmsInspireMetadataUrl( const QgsProject &project );
143+
144+
/** Returns the Inspire metadata URL type.
145+
* \param project the QGIS project
146+
* \returns the Inspire metadata URL type if defined in project.
147+
*/
148+
QString wmsInspireMetadataUrlType( const QgsProject &project );
149+
150+
/** Returns the Inspire temporal reference.
151+
* \param project the QGIS project
152+
* \returns the Inspire temporal reference if defined in project.
153+
*/
154+
QString wmsInspireTemporalReference( const QgsProject &project );
155+
156+
/** Returns the Inspire metadata date.
157+
* \param project the QGIS project
158+
* \returns the Inspire metadata date if defined in project.
159+
*/
160+
QString wmsInspireMetadataDate( const QgsProject &project );
161+
162+
/** Returns the restricted composer list.
163+
* \param project the QGIS project
164+
* \returns the restricted composer list if defined in project.
165+
*/
166+
QStringList wmsRestrictedComposers( const QgsProject &project );
167+
114168
/** Returns the WMS ervice url defined in a QGIS project.
115169
* @param project the QGIS project
116170
* @return url if defined in project, an empty string otherwise.
117171
*/
118172
QString wmsServiceUrl( const QgsProject &project );
119173

174+
/** Returns the WMS root layer name defined in a QGIS project.
175+
* \param project the QGIS project
176+
* \returns root layer name if defined in project, an empty string otherwise.
177+
*/
178+
QString wmsRootName( const QgsProject &project );
179+
180+
/** Returns the restricted layer name list.
181+
* \param project the QGIS project
182+
* \returns the restricted layer name list if defined in project.
183+
*/
184+
QStringList wmsRestrictedLayers( const QgsProject &project );
185+
186+
/** Returns the WMS output CRS list.
187+
* \param project the QGIS project
188+
* \returns the WMS output CRS list.
189+
*/
190+
QStringList wmsOutputCrsList( const QgsProject &project );
191+
192+
/** Returns the WMS Extent restriction.
193+
* \param project the QGIS project
194+
* \returns the WMS Extent restriction.
195+
*/
196+
QgsRectangle wmsExtent( const QgsProject &project );
197+
120198
/** Returns the WFS service url defined in a QGIS project.
121199
* @param project the QGIS project
122200
* @return url if defined in project, an empty string otherwise.
@@ -129,6 +207,14 @@ namespace QgsServerProjectUtils
129207
*/
130208
QStringList wfsLayerIds( const QgsProject &project );
131209

210+
/** Returns the Layer precision defined in a QGIS project for the WFS GetFeature.
211+
* @param project the QGIS project
212+
* @param layerId the layer id in the project
213+
* @return the layer precision for WFS GetFeature.
214+
*/
215+
216+
int wfsLayerPrecision( const QgsProject &project, const QString &layerId );
217+
132218
/** Returns the Layer ids list defined in a QGIS project as published as WFS-T with update capabilities.
133219
* @param project the QGIS project
134220
* @return the Layer ids list.

0 commit comments

Comments
 (0)
Please sign in to comment.