QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
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
29class CORE_EXPORT QgsWmsUtils
30{
31 public:
32
38 static bool isWmsLayer( QgsMapLayer *layer );
39
47 static QString wmsVersion( QgsRasterLayer *layer );
48};
49
50#endif // QGSWMSUTILS_H
Base class for all map layer types.
Definition qgsmaplayer.h:80
Represents a raster layer.
Contains utility functions for OGC WMS layers.
Definition qgswmsutils.h:30
static QString wmsVersion(QgsRasterLayer *layer)
Returns the WMS version of a WMS layer as a string (e.g., "1.3.0").
static bool isWmsLayer(QgsMapLayer *layer)
Returns whether a map layer is an OGC WMS layer or not.