Add layers from published WMTS services to your MapGeo Viewer!


Last updated: April 3, 2020


Prerequisites

  • Access to the MapGeo Console

  • WMTS map service in EPSG:3587, EPSG:102100 or EPSG:900913 


Process:

Open the rest services or wmts capabilities document for the service to be added to MapGeo Viewer, and find the tile url. For example, here is the rest service page for the USGS Topo Basemap.


The tile cache url can be found by clicking either on the WMTS link at the top of the document to open the WMTS Capabilities page, or by clicking the Start Tile links in the Tile Details section. Copy the tile url. 


In MapGeo Console, click the Edit button on the Dataset to which the WMTS layer will be added. 



Navigate to the Map tab on the left side of the page, click on the Layer tab, and then click on the blue button that says “+ Add New Layer”.


Enter the name of the layer. This will show up in the menus for creating themes, so we recommend using a naming convention that will help to immediately identify the layer from a list. This is a required field.


Enter any attribution information desired. This will show in the side panel when this layer is used in a theme, but not when the layer is used as a basemap. This field is optional.


Enter a url for the wmts legend, if needed. This will show in the panel when this layer is used in a theme, but not when the layer is used as a basemap. This field is optional.


Select LRC from the Type dropdown menu, and enter the url for the wmts service. MapGeo will add /{z}/{x}/{y} to the end of the url, if it is missing from the tile url. For this example, the url entered could be either 


https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x


or


https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile


Click Submit to save the layer.



Helpful Hints

  • LRC stands for Level Row Column

  • Make sure that the WMTS has tiles available for all levels that you will need for use on your MapGeo site. See the Maps > General tab to determine what zoom levels your site uses.