mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-31 00:06:02 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			374 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			374 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/server/qgsserverprojectutils.h                                   *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| %ModuleHeaderCode
 | |
| #include "qgsserverprojectutils.h"
 | |
| %End
 | |
| 
 | |
| 
 | |
| namespace QgsServerProjectUtils
 | |
| {
 | |
| 
 | |
|   bool owsServiceCapabilities( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns if owsService capabilities are enabled.
 | |
|  \param project the QGIS project
 | |
|  :return: if owsService capabilities are enabled.
 | |
|  :rtype: bool
 | |
| %End
 | |
| 
 | |
|   QString owsServiceTitle( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService title defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService title if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString owsServiceAbstract( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService abstract defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService abstract if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QStringList owsServiceKeywords( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService keywords defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService keywords if defined in project.
 | |
|  :rtype: list of str
 | |
| %End
 | |
| 
 | |
|   QString owsServiceOnlineResource( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService online resource defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService online resource if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString owsServiceContactOrganization( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService contact organization defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService contact organization if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString owsServiceContactPosition( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService contact position defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService contact position if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString owsServiceContactPerson( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService contact person defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService contact person if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString owsServiceContactMail( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService contact mail defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService contact mail if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString owsServiceContactPhone( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService contact phone defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService contact phone if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString owsServiceFees( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService fees defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService fees if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString owsServiceAccessConstraints( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the owsService access constraints defined in project.
 | |
|  \param project the QGIS project
 | |
|  :return: the owsService access constraints if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   int wmsMaxWidth( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the maximum width for WMS images defined in a QGIS project.
 | |
|  \param project the QGIS project
 | |
|  :return: width if defined in project, -1 otherwise.
 | |
|  :rtype: int
 | |
| %End
 | |
| 
 | |
|   int wmsMaxHeight( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the maximum height for WMS images defined in a QGIS project.
 | |
|  \param project the QGIS project
 | |
|  :return: height if defined in project, -1 otherwise.
 | |
|  :rtype: int
 | |
| %End
 | |
| 
 | |
|   bool wmsUseLayerIds( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns if layer ids are used as name in WMS.
 | |
|  \param project the QGIS project
 | |
|  :return: if layer ids are used as name.
 | |
|  :rtype: bool
 | |
| %End
 | |
| 
 | |
|   bool wmsInfoFormatSia2045( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns if the info format is SIA20145.
 | |
|  \param project the QGIS project
 | |
|  :return: if the info format is SIA20145.
 | |
|  :rtype: bool
 | |
| %End
 | |
| 
 | |
|   bool wmsFeatureInfoAddWktGeometry( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns if the geometry is displayed as Well Known Text in GetFeatureInfo request.
 | |
|  \param project the QGIS project
 | |
|  :return: if the geometry is displayed as Well Known Text in GetFeatureInfo request.
 | |
|  :rtype: bool
 | |
| %End
 | |
| 
 | |
|   bool wmsFeatureInfoSegmentizeWktGeometry( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns if the geometry has to be segmentize in GetFeatureInfo request.
 | |
|  \param project the QGIS project
 | |
|  :return: if the geometry has to be segmentize in GetFeatureInfo request.
 | |
|  :rtype: bool
 | |
| %End
 | |
| 
 | |
|   int wmsFeatureInfoPrecision( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the geometry precision for GetFeatureInfo request.
 | |
|  \param project the QGIS project
 | |
|  :return: the geometry precision for GetFeatureInfo request.
 | |
|  :rtype: int
 | |
| %End
 | |
| 
 | |
|   QString wmsFeatureInfoDocumentElement( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the document element name for XML GetFeatureInfo request.
 | |
|  \param project the QGIS project
 | |
|  :return: the document element name for XML GetFeatureInfo request.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString wmsFeatureInfoDocumentElementNs( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the document element namespace for XML GetFeatureInfo request.
 | |
|  \param project the QGIS project
 | |
|  :return: the document element namespace for XML GetFeatureInfo request.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString wmsFeatureInfoSchema( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the schema URL for XML GetFeatureInfo request.
 | |
|  \param project the QGIS project
 | |
|  :return: the schema URL for XML GetFeatureInfo request.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QHash<QString, QString> wmsFeatureInfoLayerAliasMap( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the mapping between layer name and wms layer name for GetFeatureInfo request.
 | |
|  \param project the QGIS project
 | |
|  :return: the mapping between layer name and wms layer name for GetFeatureInfo request.
 | |
|  :rtype: QHash<str, QString>
 | |
| %End
 | |
| 
 | |
|   bool wmsInspireActivate( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns if Inspire is activated.
 | |
|  \param project the QGIS project
 | |
|  :return: if Inspire is activated.
 | |
|  :rtype: bool
 | |
| %End
 | |
| 
 | |
|   QString wmsInspireLanguage( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the Inspire language.
 | |
|  \param project the QGIS project
 | |
|  :return: the Inspire language if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString wmsInspireMetadataUrl( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the Inspire metadata URL.
 | |
|  \param project the QGIS project
 | |
|  :return: the Inspire metadata URL if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString wmsInspireMetadataUrlType( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the Inspire metadata URL type.
 | |
|  \param project the QGIS project
 | |
|  :return: the Inspire metadata URL type if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString wmsInspireTemporalReference( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the Inspire temporal reference.
 | |
|  \param project the QGIS project
 | |
|  :return: the Inspire temporal reference if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString wmsInspireMetadataDate( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the Inspire metadata date.
 | |
|  \param project the QGIS project
 | |
|  :return: the Inspire metadata date if defined in project.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QStringList wmsRestrictedComposers( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the restricted composer list.
 | |
|  \param project the QGIS project
 | |
|  :return: the restricted composer list if defined in project.
 | |
|  :rtype: list of str
 | |
| %End
 | |
| 
 | |
|   QString wmsServiceUrl( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the WMS service url defined in a QGIS project.
 | |
|  \param project the QGIS project
 | |
|  :return: url if defined in project, an empty string otherwise.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QString wmsRootName( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the WMS root layer name defined in a QGIS project.
 | |
|  \param project the QGIS project
 | |
|  :return: root layer name if defined in project, an empty string otherwise.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QStringList wmsRestrictedLayers( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the restricted layer name list.
 | |
|  \param project the QGIS project
 | |
|  :return: the restricted layer name list if defined in project.
 | |
|  :rtype: list of str
 | |
| %End
 | |
| 
 | |
|   QStringList wmsOutputCrsList( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the WMS output CRS list.
 | |
|  \param project the QGIS project
 | |
|  :return: the WMS output CRS list.
 | |
|  :rtype: list of str
 | |
| %End
 | |
| 
 | |
|   QgsRectangle wmsExtent( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the WMS Extent restriction.
 | |
|  \param project the QGIS project
 | |
|  :return: the WMS Extent restriction.
 | |
|  :rtype: QgsRectangle
 | |
| %End
 | |
| 
 | |
|   QString wfsServiceUrl( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the WFS service url defined in a QGIS project.
 | |
|  \param project the QGIS project
 | |
|  :return: url if defined in project, an empty string otherwise.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QStringList wfsLayerIds( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the Layer ids list defined in a QGIS project as published in WFS.
 | |
|  @param project the QGIS project
 | |
|  @return the Layer ids list.
 | |
|  :rtype: list of str
 | |
| %End
 | |
| 
 | |
| 
 | |
|   int wfsLayerPrecision( const QgsProject &project, const QString &layerId );
 | |
| %Docstring
 | |
|  Returns the Layer precision defined in a QGIS project for the WFS GetFeature.
 | |
|  @param project the QGIS project
 | |
|  @param layerId the layer id in the project
 | |
|  @return the layer precision for WFS GetFeature.
 | |
|  :rtype: int
 | |
| %End
 | |
| 
 | |
|   QStringList wfstUpdateLayerIds( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the Layer ids list defined in a QGIS project as published as WFS-T with update capabilities.
 | |
|  @param project the QGIS project
 | |
|  @return the Layer ids list.
 | |
|  :rtype: list of str
 | |
| %End
 | |
| 
 | |
|   QStringList wfstInsertLayerIds( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the Layer ids list defined in a QGIS project as published as WFS-T with insert capabilities.
 | |
|  @param project the QGIS project
 | |
|  @return the Layer ids list.
 | |
|  :rtype: list of str
 | |
| %End
 | |
| 
 | |
|   QStringList wfstDeleteLayerIds( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the Layer ids list defined in a QGIS project as published as WFS-T with delete capabilities.
 | |
|  @param project the QGIS project
 | |
|  @return the Layer ids list.
 | |
|  :rtype: list of str
 | |
| %End
 | |
| 
 | |
|   QString wcsServiceUrl( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the WCS service url defined in a QGIS project.
 | |
|  \param project the QGIS project
 | |
|  :return: url if defined in project, an empty string otherwise.
 | |
|  :rtype: str
 | |
| %End
 | |
| 
 | |
|   QStringList wcsLayerIds( const QgsProject &project );
 | |
| %Docstring
 | |
|  Returns the Layer ids list defined in a QGIS project as published in WCS.
 | |
|  \param project the QGIS project
 | |
|  :return: the Layer ids list.
 | |
|  :rtype: list of str
 | |
| %End
 | |
| };
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/server/qgsserverprojectutils.h                                   *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 |