Skip to content

Commit 647818d

Browse files
[Backport branch-8-6] INSPIRE view service: add section on conformance testing (#1081)
* add section on INSPIRE conformance testing; correct OGC schema repository location * INSPIRE default schemas location will be fixed in MapServer > 8.6.3 --------- Co-authored-by: Thomas Schorr <t_schorr@gmx.de>
1 parent db06a9d commit 647818d

2 files changed

Lines changed: 37 additions & 3 deletions

File tree

en/ogc/inspire.txt

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,13 +342,47 @@ in msautotest::
342342
+--- TN.RailTransportNetwork.RailwayLink
343343
+--- TN.AirTransportNetwork.AirLink
344344

345+
Conformance Testing
346+
===================
345347

348+
`INSPIRE Validator`_ is the standard testing tool for INSPIRE web services.
349+
While it can be used as a standalone product, other testing frameworks like
350+
`GDI-DE Testsuite`_ in Germany build on it and extend it.
351+
352+
The `INSPIRE Validator`_ contains a 'Conformance Class: View Service - WMS' test suite
353+
for testing WMS compliance.
354+
In order to make these tests pass and enforce strict compliance, you will need to
355+
add some extra configuration settings to the `WEB.METADATA` section::
356+
357+
WEB
358+
METADATA
359+
"ows_inspire_capabilities" "url|embed" # make this an INSPIRE service
360+
"ows_compliance_mode" "true" # Enable strict OGC compliance
361+
...
362+
END
363+
END
364+
365+
.. tip::
366+
In MapServer <= 8.6.3, you also need to override the
367+
INSPIRE schema repository location, because INSPIRE
368+
validator will throw an error on the default::
369+
370+
WEB
371+
METADATA
372+
...
373+
"inspire_schemas_location" "https://inspire.ec.europa.eu/schemas"
374+
...
375+
END
376+
END
377+
346378
.. #### rST Link Section ####
347379

348380
.. _`European directive`: https://knowledge-base.inspire.ec.europa.eu/index_en
381+
.. _`GDI-DE Testsuite`: https://testsuite.gdi-de.org
349382
.. _`INSPIRE Technical Guidance document`: https://inspire-mif.github.io/technical-guidelines/services/view-wms/
350-
351383
.. _`INSPIRE schemas`: https://inspire.ec.europa.eu/schemas/inspire_vs/1.0/inspire_vs.xsd
384+
.. _`INSPIRE Validator`: https://github.com/INSPIRE-MIF/helpdesk-validator/
385+
.. _`http://inspire.ec.europa.eu/schemas`: https://inspire.ec.europa.eu/schemas
352386
.. _`WMS INSPIRE tester`: https://github.com/neogeo-technologies/inspire_tester
353387
.. _document: https://web.archive.org/web/20121110042846/http://www.neogeo-online.net/blog/wp-content/uploads/2011/04/MAPSERVER_INSPIRE.pdf
354388
.. _`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

en/ogc/wms_server.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ Web Object Metadata
10501050
metadata) Root of the web tree where the family of OGC WMS XMLSchema
10511051
files are located. This must be a valid URL where the actual .xsd
10521052
files are located if you want your WMS output to validate in a
1053-
validating XML parser. Default is `https://schemas.opengis.net`_.
1053+
validating XML parser. Default is `http://schemas.opengis.net`_.
10541054

10551055

10561056
.. index::
@@ -2481,7 +2481,7 @@ FAQ / Common Problems
24812481
.. _`Symbology Encoding Implementation Specification`: https://portal.ogc.org/files/?artifact_id=16700
24822482
.. _`The EPSG web page`: https://epsg.org/
24832483
.. _`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
2484-
.. _`https://schemas.opengis.net`: https://schemas.opengis.net
2484+
.. _`http://schemas.opengis.net`: https://schemas.opengis.net
24852485
.. _`https://proj.org/`: https://proj.org/
24862486
.. _`http://www.maptools.org/dl/proj4-epsg.zip`: http://www.maptools.org/dl/proj4-epsg.zip
24872487

0 commit comments

Comments
 (0)