Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Added checks on WMTS TestObjectType to replicate WMS functionality on StdTestObjectTypes.java #5

Open
wants to merge 3 commits into
base: next
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ public class StdTestObjectTypes {
WMTS_TOT.setId(WMTS_ID);
WMTS_TOT.setParent(WEB_SERVICE_TOT);
WMTS_TOT.setDescription("A web service implementing the OGC Web Map Tile Service standard.");
WMS_TOT.setUriDetectionExpression("\\/wmts\\?|service=wmts");
put(WMTS_ID, WMTS_TOT);
}
{
Expand All @@ -262,6 +263,8 @@ public class StdTestObjectTypes {
+ "namespace-uri() = 'http://www.opengis.net/wmts/1.0'])", ExpressionType.XPATH);
WMTS_1_0_TOT.setLabelExpression(owsLabelExpression, ExpressionType.XPATH);
WMTS_1_0_TOT.setDescriptionExpression(owsDescriptionExpression, ExpressionType.XPATH);
WMTS_1_0_TOT.setDefaultPathAndQuery("?request=GetCapabilities&service=WMTS");
WMTS_1_0_TOT.setUriDetectionExpression("(service=wmts.*version=1\\.1\\.)|(version=1\\.1\\..*service=wmts)");
put(WMTS_1_0_ID, WMTS_1_0_TOT);
}
{
Expand Down