WMTS Datasource

Web Map Tiled Service (WMTS) is a geoservice that enables dynamic map images to be retrieved via the Internet on a tile-by-tile basis. Such OGC-compliant external WMTS services can be integrated into VC Publisher as a data source and thus into VC Map. Integrated WMTS services can be used for texturing terrain layers in the VC Maps of a project.
The selected options are used to define the URI used to retrieve the selected WMTS service.
The table shows an overview of the options:

Option Description

Name

Name of the Datasource.

Description

Description of the Datasource (optional).

Bounding Box

Describes the bounding box of the data.
Clicking the button "Edit Bounding Box" opens a new map window where a bounding box can be defined interactively. Clicking the button "Draw new extent on map" activates the bounding box mode, allowing the user to define a bounding box by clicking twice on the map (e.g., top-right and bottom-left corners of the bounding box). The coordinates of the bounding box are automatically adopted in EPSG 4326.
Clicking the button "CLOSE" closes the map window.

URI

URI of the datasource.

Additional info regarding URI

The base URI which the WMS data source is located on can be supplemented by options.
Alternatively, the selected parameters can be entered as an integrated part of the URL using the following syntax: https://example.com/wms?PARAMETER=1&PARAMETER=2. The base URI is at the beginning, followed by a question mark (?), after which the parameters are separated by ampersands (&).
A template can also be specified, for example: https://maps.server.de/wmts/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpeg.

Image Format

Selection of the output image format. The image formats available can be found in the WMTS capability document.

Min. Level

Minimum zoom level at which the WMTS layer is displayed.

Max. Level

Maximum zoom level at which the WMTS layer is displayed.

Layer

Selection of the layer to be displayed. Optional: Only needs to be specified if {Layer} is defined in the URL template.
The layers that are available can be found in the WMTS capability document.

Style

Selection of the styles to be displayed (e.g., default). Optional: Only needs to be specified if {Style} is defined in the URL template.

Tiling Schema

Determines the tiling profile/scheme of the map.
Profiles increase the interoperability of tile maps with other tile maps. Currently, the ‘geographic’ and ‘mercator’ profiles are supported: The ‘geographic’ profile uses EPSG:4326 as the CRS, while ‘mercator’ uses EPSG:3857 as the CRS.
Further information on WMS profiles can be found in the OGC WMS Specification.

TileMatrixSetID

Selection of the tile matrix set. The available sets can be found in the WMTS capability document.

TileMatrixPrefix

Prefix for the MatrixID. The MatrixID is then combined from Prefix + Level (e.g., Prefix = 0, Level = 1, MatrixID = 01). If different MatrixIDs are to be used, an array with matrixIds: [“id0”, “id1”, …​] can be specified in the layer config of the virtualcityMap.

Number of Level Zero Tiles X

Number of tiles on level 0, should normally be 1.

Number of Level Zero Tiles Y

Number of tiles on level 0, should normally be 1.

Once all settings have been made, the data source must be saved. It can then be viewed as a 2D map or as an overlay on a terrain layer in the preview (click the ‘Activate Map’ button).

Data Preview

The data preview allows a visual check of the configured data source before publication. It displays the data in the map window using the selected projection and within the defined extent. Users can interactively pan and zoom the map to review the display.
Changes to the data source or the extent are applied to the preview after clicking “Reload Map.”

Once all settings have been made, the data source must be saved. It can then be viewed as a 2D map or as an overlay on a terrain layer in the preview (click the ‘Activate Map’ button).