589 changes: 285 additions & 304 deletions src/providers/wcs/qgswcsprovider.cpp

Large diffs are not rendered by default.

27 changes: 13 additions & 14 deletions src/providers/wcs/qgswcsprovider.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
begin : 2 July, 2012
copyright : (C) 2012 by Radim Blazek
email : radim dot blazek at gmail.com
Based on qgswmsprovider.h written by Brendan Morley.
***************************************************************************/

/***************************************************************************
Expand All @@ -22,6 +22,7 @@
#ifndef QGSWCSPROVIDER_H
#define QGSWCSPROVIDER_H

#include "qgswcscapabilities.h"
#include "qgsrasterdataprovider.h"
#include "qgsrectangle.h"

Expand Down Expand Up @@ -118,14 +119,6 @@ class QgsWcsProvider : public QgsRasterDataProvider
*/
virtual QString baseUrl() const;

/**Returns the GetMap url
*/
virtual QString getMapUrl() const;

/**Returns the GetFeatureInfo url
*/
virtual QString getFeatureInfoUrl() const;

//! get WCS version string
QString wcsVersion();

Expand Down Expand Up @@ -210,7 +203,7 @@ class QgsWcsProvider : public QgsRasterDataProvider
QString prepareUri( QString uri ) const;

//QString layerMetadata( QgsWmsLayerProperty &layer );
QString layerMetadata( );
QString layerMetadata( );

//! remove query item and replace it with a new value
void setQueryItem( QUrl &url, QString key, QString value );
Expand All @@ -235,6 +228,12 @@ class QgsWcsProvider : public QgsRasterDataProvider
*/
bool mValid;

/** Server capabilities */
QgsWcsCapabilities mCapabilities;

/** Coverage summary */
QgsWcsCoverageSummary * mCoverageSummary;

/**
* Spatial reference id of the layer
*/
Expand All @@ -243,7 +242,7 @@ class QgsWcsProvider : public QgsRasterDataProvider
/**
* Rectangle that contains the extent (bounding box) of the layer
*/
QgsRectangle mLayerExtent;
QgsRectangle mCoverageExtent;

/**
* Last Service Exception Report from the WCS
Expand All @@ -267,9 +266,9 @@ class QgsWcsProvider : public QgsRasterDataProvider
QMap<QString, bool> mQueryableForLayer;

/**
* WCS CRS type of the image CRS used from the WCS server
* WCS CRS type of the coverage CRS requested from the WCS server
*/
QString mImageCrs;
QString mCoverageCrs;

/**
* The previously retrieved image from the WCS server.
Expand Down
1 change: 1 addition & 0 deletions src/providers/wcs/qgswcssourceselect.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#ifndef QGSWCSSOURCESELECT_H
#define QGSWCSSOURCESELECT_H

#include "qgsowssourceselect.h"
#include "qgsdatasourceuri.h"
#include "qgisgui.h"
Expand Down