QGIS API Documentation
4.3.0-Master (52380286b7c)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
qgswmsutils.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgswmsutils.h
3
---------------
4
begin : September 2025
5
copyright : (C) 2025 by Germán Carrillo
6
email : german at opengis dot ch
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSWMSUTILS_H
19
#define QGSWMSUTILS_H
20
21
#include "
qgsrasterlayer.h
"
22
29
class
CORE_EXPORT
QgsWmsUtils
30
{
31
public
:
37
static
bool
isWmsLayer
(
QgsMapLayer
*layer );
38
46
static
QString
wmsVersion
(
QgsRasterLayer
*layer );
47
};
48
49
#endif
// QGSWMSUTILS_H
QgsMapLayer
Base class for all map layer types.
Definition
qgsmaplayer.h:83
QgsRasterLayer
Represents a raster layer.
Definition
qgsrasterlayer.h:82
QgsWmsUtils
Contains utility functions for OGC WMS layers.
Definition
qgswmsutils.h:30
QgsWmsUtils::wmsVersion
static QString wmsVersion(QgsRasterLayer *layer)
Returns the WMS version of a WMS layer as a string (e.g., "1.3.0").
Definition
qgswmsutils.cpp:48
QgsWmsUtils::isWmsLayer
static bool isWmsLayer(QgsMapLayer *layer)
Returns whether a map layer is an OGC WMS layer or not.
Definition
qgswmsutils.cpp:26
qgsrasterlayer.h
Generated on
for QGIS API Documentation by
1.17.0