Support for OGC service
Is there a way to consume the following services in Geocortex?
mapbox-streets https://www.mapbox.com/vector-tiles/mapbox-streets-v7/
OpenMapTiles https://www.tilehosting.com/
Thank you
0
-
Both of these providers produce services that can be added as 'Web Tiled Layers' in Essentials. You'll need to inspect the url used to access these service and fill out a template in Manager with replacement tokens for these values:
subDomain, level, col, row
For example, when a MapBox service is accessed you will see that the path to the tiles looks something like:
/v4/mapbox.streets/12/1209/1539.png?access_token=xxxxxxx
The three numbers in a row are level, col, and row. They almost always occur in this order.
You will also see that the tiles are served from two different servers:
https://a.tiles.mapbox.com and https://b.tiles.mapbox.com
So the URL to fill out in manager with replacement tokens looks like this:
https://{subDomain}.tiles.mapbox.com/v4/mapbox.streets/{level}/{col}/{row}.png?access_token=xxxxxxxx
Since this service has multiple subdomains you must also fill them out in the box below. Write a,b here. Your access token is always hardcoded in the URL and does not use a replacement token.
The MapTiler service is a bit simpler and does not use subdomains. It should look like this in Manager:
https://maps.tilehosting.com/styles/streets/{level}/{col}/{row}.png?key=xxxxxxxxxx
Only the raster variants of these services are supported at this time.
Hope this helps,
Jonathan0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar