Hi,

this is the best I got by try and error.
I don't see any maps but a (c) tile. Maybe I was searching in the wrong
place/region. Or the CRS=EPSG:5650 is wrong.

In general I always use the link in the tms script and adopt it to the
Capabilities that I learn from the WMS Service Call in the Browser. Then I
call the WMS in the browser where I see the error messages. When he is
complaining about the BBOX your are pretty far. :)


<TMS>
<Layer idx="0">
<Title>GeoDaten</Title>
<Script><![CDATA[(
function convert(z1,x1,y1)
{ function M(n){return
256*n*(156543.03392804062/(1<<z1))-20037508.342789244}
  y=(1<<z1)-1-y1;
  bbox=M(x1)+','+M(y)+','+M(x1+1)+','+M(y+1);
 return "
http://www.geodaten-mv.de/dienste/tk25m_laiv_wms?LAYERS=WMS_MV_TK25M&LAYER=mv_tk25m&FORMAT=image/png&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=";
+ bbox + "&WIDTH=256&HEIGHT=256&CRS=EPSG:5650";
}
)]]></Script>
</Layer>
<Copyright>GeoDaten</Copyright>
</TMS>


On Wed, 1 Apr 2020 at 17:39, Georg <[email protected]> wrote:

> Dear all,
> I'm currently trying to access a WMS server with historical regional
> maps [0] using the approach described in [1], by translating it to TMS
> via JavaScript.
> So far I have not been successful, and I wonder if there is any way in
> QMS to see an error log or at least the request being sent, so I can
> reproduce and debug from there.
> Of course this would be possible with wireshark, but maybe there is an
> easier solution?
> Thank you in advance for suggestions, comments etc.
>
> Georg
>
> [0] http://www.geodaten-mv.de/dienste/tk25m_laiv_wms
> [1] https://github.com/Maproom/qmapshack/wiki/DocMapsTipsOnline
>
>
> _______________________________________________
> Qlandkartegt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
>
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to