From eb89c08ad058a223929862df0fd3e5532832ab7f Mon Sep 17 00:00:00 2001 From: Jo Date: Thu, 15 Jun 2023 00:55:40 +0200 Subject: [PATCH] Added conformance class for Mapbox Vector Tiles (#1263) * - Added conformance class for Mapbox Vector Tiles * - updated number of conformance classes on tests --------- Co-authored-by: doublebyte1 --- pygeoapi/api.py | 3 ++- tests/test_api.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pygeoapi/api.py b/pygeoapi/api.py index d96da96..6026492 100644 --- a/pygeoapi/api.py +++ b/pygeoapi/api.py @@ -142,7 +142,8 @@ CONFORMANCE = { 'http://www.opengis.net/spec/ogcapi-maps-1/1.0/conf/core' ], 'tile': [ - 'http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core' + 'http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core', + 'http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/mvt' ], 'record': [ 'http://www.opengis.net/spec/ogcapi-records-1/1.0/conf/core', diff --git a/tests/test_api.py b/tests/test_api.py index d221558..c08fd73 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -607,7 +607,7 @@ def test_conformance(config, api_): assert isinstance(root, dict) assert 'conformsTo' in root - assert len(root['conformsTo']) == 25 + assert len(root['conformsTo']) == 26 assert 'http://www.opengis.net/spec/ogcapi-features-2/1.0/conf/crs' \ in root['conformsTo']