This article will walk you through the steps necessary to convert a WMTS map source for import into Gaia GPS.
First, locate the ArcGIS REST Services Directory for the map source that you are interested in importing. I will be using Vermont LIDAR data as an example. The Vermont LIDAR data files are available here: https://maps.vcgi.vermont.gov/arcgis/rest/services/EGC_services
Specifically, I am interested in importing a hillshade map so I will use this file:
To generate an import URL, follow these steps:
1. Open the WMTS XML file
2. Find the Resource URL under TileMatrixSetLink in the XML file:
In the next steps, you will be modifying the URL from the XML file. This is how you will go about creating the URL to import the custom map to your account.
3. Find the Style value which is "default". In the URL, replace {Style} with default or the corresponding value in your XML file.
4. Find the TileMatrixSet value which is "default028mm". In the URL, replace {TileMatrixSet} with default028mm or the corresponding value in your XML file.
5. Update the template and set {TileMatrix}/{TileRow}/{TileCol} to {z}/{x}/{y} and add the image file extension (.png) to the end of the URL.
After following steps 3, 4, and 5 your URL should look like this:
6. Copy & paste the URL from Step 5 into the custom map source import page
- Update the coordinates in the preview map to somewhere in Vermont: 44.31983, -72.88616
- Adjust the order of {z}/{x}/{y} until the tiles are displayed in the preview map.
- In this case, I had to rearrange the order {y} & {x} in the URL for the tiles to display
The final URL should look like this:
7. Once the preview looks as you would expect, click "Add this map source". Click the Layers icon on the main map to toggle on your custom map source.
If you wanted to import the contour line data instead, the final URL for import would look like this:
Comments
0 comments
Article is closed for comments.