WMTS JSON file
  • 21 Dec 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

WMTS JSON file

  • Dark
    Light
  • PDF

Article Summary

WMTS (Web map tile service) URLs can be used to ingest georeferenced map tiles. If the WMTS option was selected while creating the dataset, then the data feature ingestion (adectl run) expects a JSON file with image tile URLs to be present in the input container. A sample JSON file is as follows:

{
   "tiles":[
      {
         "name":"",
         "url":""
      },
      {
         "name":"",
         "url":""
      }
   ]
}

The JSON file has two parameters:

  • name: Enter an identifiable name for the image tile.
  • url: Enter the complete URL for the image tile.

You must enter the image name and image URL for each image tile.
NOTE: If the WMTS service uses a query parameter in the URL (e.g. key=mykey in http://myservice.com/myimg?key=mykey), then those query parameters must be specified during dataset creation and should not be repeated for every URL in this JSON file.


Was this article helpful?