<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hello list!<br>
<br>
For me the d.wms in the gui works perfect. But when I script, I need to download the wms layer (?) and for that I use r.in.wms which works, but gives not as pleasant image. The image looks distorted in some way. I can adjust it some with different 'g.region
res=' <br>
<br>
When I in the gui (using d.wms) choose the save the layer - I get the same as for r.in.wms - which I guess is used for saving.<br>
<br>
I looked into the d.wms.py script to try to reproduce what d.wms does, but I can not get the right input to wms.GetMap(options,flags) - And I can't find any good documentation.<br>
<br>
from wms_drv import WMSDrv<br>
wms = WMSDrv()<br>
<br>
I don't really need to dowload the wms, but I want to use it as a background when scripting.<br>
<br>
Is there maybe a way to use d.wms when scripting?<br>
<br>
<br>
Martin<br>
<br>
<br>
</div>
</div>
</body>
</html>