From 0d5f7dd700dc1fdd0b57616c0a04133897afb4e2 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 15 Oct 2019 14:02:33 +0200 Subject: [PATCH] [WFS/OAPIF] Define storageType() Funded by Planet --- src/providers/wfs/qgsoapifprovider.h | 2 ++ src/providers/wfs/qgswfsprovider.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/providers/wfs/qgsoapifprovider.h b/src/providers/wfs/qgsoapifprovider.h index 6d69a2b5c32..98189fdec12 100644 --- a/src/providers/wfs/qgsoapifprovider.h +++ b/src/providers/wfs/qgsoapifprovider.h @@ -59,6 +59,8 @@ class QgsOapifProvider : public QgsVectorDataProvider bool supportsSubsetString() const override { return true; } + QString storageType() const override { return QStringLiteral( "OGC API - Features" ); } + /* Inherited from QgsDataProvider */ QgsRectangle extent() const override; diff --git a/src/providers/wfs/qgswfsprovider.h b/src/providers/wfs/qgswfsprovider.h index 8b6ad286077..ae6f46ac511 100644 --- a/src/providers/wfs/qgswfsprovider.h +++ b/src/providers/wfs/qgswfsprovider.h @@ -98,6 +98,8 @@ class QgsWFSProvider : public QgsVectorDataProvider QgsVectorDataProvider::Capabilities capabilities() const override; + QString storageType() const override { return QStringLiteral( "OGC WFS (Web Feature Service)" ); } + /* new functions */ QString geometryAttribute() const;