This object is in archive! 

Configuration of custom map provider

forum.testarlite shared this question 10 years ago
Answered

I am trying to configure a custom map provider as seen below but would need some help with the troubleshooting.

On most zoom levels I just get white tiles loaded. "z" in the url seem to vary from 0-11 and x and y (inverted) are in opposite order than normally in urls. Any tips here?


<?xml version="1.0" encoding="UTF-8"?>

<providers>


<!-- Lantweb -->

<provider id="12733" type="0" visible="true" background="-1">

<name>Weblant</name>

<mode>Topo</mode>

<countries>Sweden</countries>

<url><![CDATA[</url>" rel="nofollow noopener" target="_blank">http://ext-webbgis.lansstyrelsen.se/sverigeslanskarta/proxy/proxy.ashx?http://maps.lantmateriet.se/topowebb/v1/wmts/1.0.0/topowebb/default/3006/{z}/{y}/{x}.png]]></url>;

<zoomPart>{z}-8</zoomPart>

<zoomMin>9</zoomMin>

<zoomMax>19</zoomMax>

<tileSize>256</tileSize>

<attribution><![CDATA[© Lantmäteriet]]></attribution>

<extraHeader><![CDATA[Referer#</extraHeader>" rel="nofollow noopener" target="_blank">http://ext-webbgis.lansstyrelsen.se/sverigeslanskarta/]]></extraHeader>;

<extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>

</provider>


</providers>


CUSTOM ONLINE MAPS

Replies (1)

photo
3

Hi,

i'm sorry, but it isn't possible to solve your issue because the origin for

tiles is moved. Standard mercator projection has

tile Z=1, X=0, Y=0 somewhere above north Canada and tile cover almost 1/2 of worlds- see http://tile.openstreetmap.org/1/0/0.png Unfortunately the "origin" for your maps is somewhere in greenland - see http://ext-webbgis.lansstyrelsen.se/sverigeslanskarta/proxy/proxy.ashx?http://maps.lantmateriet.se/topowebb/v1/wmts/1.0.0/topowebb/default/3006/1/0/0.png

This comment is in trash! Restore

Replies have been locked on this page!

You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!