From 8b9e9d1e6db2dfef18abfa3e418e4eb2b69c26b2 Mon Sep 17 00:00:00 2001 From: Thomas Schorr Date: Fri, 8 May 2026 08:48:43 +0200 Subject: [PATCH 1/2] add section on INSPIRE conformance testing; correct OGC schema repository location --- en/ogc/inspire.txt | 31 ++++++++++++++++++++++++++++++- en/ogc/wms_server.txt | 4 ++-- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/en/ogc/inspire.txt b/en/ogc/inspire.txt index b7c4c6b05ce..98bd8942ba0 100644 --- a/en/ogc/inspire.txt +++ b/en/ogc/inspire.txt @@ -342,13 +342,42 @@ in msautotest:: +--- TN.RailTransportNetwork.RailwayLink +--- TN.AirTransportNetwork.AirLink +Conformance Testing +=================== + +`INSPIRE Validator`_ is the standard testing tool for INSPIRE web services. +While it can be used as a standalone product, other testing frameworks like +`GDI-DE Testsuite`_ in Germany build on it and extend it. + +The `INSPIRE Validator`_ contains a 'Conformance Class: View Service - WMS' test suite +for testing WMS compliance. +In order to make these tests pass and enforce strict compliance, you will need to +add some extra configuration settings to the `WEB.METADATA` section:: + + WEB + METADATA + "ows_inspire_capabilities" "url|embed" # make this an INSPIRE service + ... + # Enable strict OGC compliance + "ows_compliance_mode" "true" + + # Override the default INSPIRE schemas location. + # Needed because the INSPIRE validator will not + # follow a permanent redirect from plain http:// + # and throw an error instead. + "inspire_schemas_location" "https://inspire.ec.europa.eu/schemas" + ... + END + END .. #### rST Link Section #### .. _`European directive`: https://knowledge-base.inspire.ec.europa.eu/index_en +.. _`GDI-DE Testsuite`: https://testsuite.gdi-de.org .. _`INSPIRE Technical Guidance document`: https://inspire-mif.github.io/technical-guidelines/services/view-wms/ - .. _`INSPIRE schemas`: https://inspire.ec.europa.eu/schemas/inspire_vs/1.0/inspire_vs.xsd +.. _`INSPIRE Validator`: https://github.com/INSPIRE-MIF/helpdesk-validator/ +.. _`http://inspire.ec.europa.eu/schemas`: https://inspire.ec.europa.eu/schemas .. _`WMS INSPIRE tester`: https://github.com/neogeo-technologies/inspire_tester .. _document: https://web.archive.org/web/20121110042846/http://www.neogeo-online.net/blog/wp-content/uploads/2011/04/MAPSERVER_INSPIRE.pdf .. _`INSPIRE Metadata Implementing Rules`: https://knowledge-base.inspire.ec.europa.eu/publications/inspire-metadata-implementing-rules-technical-guidelines-based-en-iso-19115-and-en-iso-19119_en diff --git a/en/ogc/wms_server.txt b/en/ogc/wms_server.txt index 770e3c89424..e21cb6915f6 100644 --- a/en/ogc/wms_server.txt +++ b/en/ogc/wms_server.txt @@ -1057,7 +1057,7 @@ Web Object Metadata metadata) Root of the web tree where the family of OGC WMS XMLSchema files are located. This must be a valid URL where the actual .xsd files are located if you want your WMS output to validate in a - validating XML parser. Default is `https://schemas.opengis.net`_. + validating XML parser. Default is `http://schemas.opengis.net`_. .. index:: @@ -2488,7 +2488,7 @@ FAQ / Common Problems .. _`Symbology Encoding Implementation Specification`: https://portal.ogc.org/files/?artifact_id=16700 .. _`The EPSG web page`: https://epsg.org/ .. _`https://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities`: https://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities -.. _`https://schemas.opengis.net`: https://schemas.opengis.net +.. _`http://schemas.opengis.net`: https://schemas.opengis.net .. _`https://proj.org/`: https://proj.org/ .. _`http://www.maptools.org/dl/proj4-epsg.zip`: http://www.maptools.org/dl/proj4-epsg.zip From af1508add892f5d6d267408956e13ab9e8c1f446 Mon Sep 17 00:00:00 2001 From: Thomas Schorr Date: Fri, 8 May 2026 14:32:06 +0200 Subject: [PATCH 2/2] INSPIRE default schemas location will be fixed in MapServer > 8.6.3 --- en/ogc/inspire.txt | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/en/ogc/inspire.txt b/en/ogc/inspire.txt index 98bd8942ba0..ccb75fd805a 100644 --- a/en/ogc/inspire.txt +++ b/en/ogc/inspire.txt @@ -357,19 +357,24 @@ add some extra configuration settings to the `WEB.METADATA` section:: WEB METADATA "ows_inspire_capabilities" "url|embed" # make this an INSPIRE service - ... - # Enable strict OGC compliance - "ows_compliance_mode" "true" - - # Override the default INSPIRE schemas location. - # Needed because the INSPIRE validator will not - # follow a permanent redirect from plain http:// - # and throw an error instead. - "inspire_schemas_location" "https://inspire.ec.europa.eu/schemas" + "ows_compliance_mode" "true" # Enable strict OGC compliance ... END END +.. tip:: + In MapServer <= 8.6.3, you also need to override the + INSPIRE schema repository location, because INSPIRE + validator will throw an error on the default:: + + WEB + METADATA + ... + "inspire_schemas_location" "https://inspire.ec.europa.eu/schemas" + ... + END + END + .. #### rST Link Section #### .. _`European directive`: https://knowledge-base.inspire.ec.europa.eu/index_en