<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; ">Try without the folder flag , it works for me ... some times. I've been fighting with r.in.wms for several months and usually I got stuck either where your are or at WARNING: xml2 NOT avaliable, I was told that xml2 is not needed -I'm on mac- what is true in some cases -see below-.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; ">Those errors only happen in some servers.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>r.in.wms -l output=icvo5_2004 mapserver=<A href="http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx?">http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx?</A> layers=hist_1_5000_2004 srs=EPSG:23030 format=png wmsquery=version=1.1.1 maxcols=2048 maxrows=2048 'wgetoptions=-c -t 5 -nv' 'curloptions=-C - --retry 5 -s -S' method=nearest v=1 --o</DIV><DIV>Using WGET for downloading data.</DIV><DIV>List of layers for server</DIV><DIV><A href="http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx?">http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx?</A>:</DIV><DIV>20:22:15 URL:<A href="http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx?">http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx?</A> [316/316] -&gt; "/Volumes/LaCieDisk/Users/Shared/agus_compartido/grassdata/Projecte/adiez2/.tmp/regadiuet.prearq.uv.es/1486.0capabilities.xml" [1]</DIV><DIV>WARNING: xml2 NOT avaliable</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>ERROR: Parsing XML file</DIV><DIV>------------------------</DIV><DIV>&lt;?xml version='1.0' encoding="ISO-8859-1"  standalone="no" ?&gt;</DIV><DIV>&lt;ServiceExceptionReport version="1.1.1"&gt;</DIV><DIV>&lt;ServiceException code="InvalidFormat"&gt;</DIV><DIV>&lt;![CDATA[</DIV><DIV>Este servicio sirve para ser utilizado por programas de visualizaci?n de cartograf?a. No es una p?gina web.]]&gt;</DIV><DIV> &lt;/ServiceException&gt;</DIV><DIV>&lt;/ServiceExceptionReport&gt;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>but not in others</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>r.in.wms output=icvo5_2000b mapserver=icvmapas.icv.gva.es/wms? layers=hist_1_5000_2000 srs=EPSG:23030 format=png wmsquery=version=1.1.1 maxcols=2048 maxrows=2048 folder=/Users/adiez/Documents 'wgetoptions=-c -t 5 -nv' 'curloptions=-C - --retry 5 -s -S' method=nearest v=1 --o</DIV><DIV>Using WGET for downloading data.</DIV><DIV>Calculating tiles</DIV><DIV>Requesting 1 tiles.</DIV><DIV>Downloading tiles</DIV><DIV>Downloading data</DIV><DIV>Requesting Data from icvmapas.icv.gva.es/wms?:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>request=GetMap&amp;layers=hist_1_5000_2000&amp;styles=&amp;srs=EPSG:23030&amp;bbox=699869.94641300000000000000,4274950.58941000000000000000,749946.91542798501498496500,4325027.56334589610389605391&amp;width=2004&amp;height=2004&amp;format=image/png&amp;transparent=TRUE&amp;version=1.1.1</DIV><DIV>20:33:34 URL:<A href="http://icvmapas.icv.gva.es/wms?">http://icvmapas.icv.gva.es/wms?</A> [24012] -&gt; "/Users/adiez/Documents/icvo5_2000b__0.png" [1]</DIV><DIV>All tiles downloaded successfully</DIV><DIV>Creating output file that is 2004P x 2004L.</DIV><DIV>Processing input file /Users/adiez/Documents/icvo5_2000b__0.png.</DIV><DIV>Using band 4 of source image as alpha.</DIV><DIV>Using band 4 of destination image as alpha.</DIV><DIV>:0...10...20...30...40...50...60...70...80...90...100 - done.</DIV><DIV>Projection of input dataset and current location appear to match.</DIV><DIV>Proceeding with import...</DIV><DIV> 100%</DIV><DIV> 100%</DIV><DIV> 100%</DIV><DIV> 100%</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "> </DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR><DIV><DIV>On Sep 22, 2007, at 12:20 PM, gweigi71 wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hello,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I try to get some maps from saxonys new wms- service:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.landesvermessung.sachsen.de/ias/basiskarte/service/register">http://www.landesvermessung.sachsen.de/ias/basiskarte/service/register</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(german only)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I use this with grass 6.2.2:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">r.in.wms -c output=tk10</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">mapserver=<A href="http://www.landesvermessung.sachsen.de/ias/basiskarte/service/SRVTKFREE/WMSFREE_TK/wmsservice?">http://www.landesvermessung.sachsen.de/ias/basiskarte/service/SRVTKFREE/WMSFREE_TK/wmsservice?</A><SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">layers=tk10w,tk10g,tk10i,tk10v srs=EPSG:31468 format=png</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">wmsquery=SERVICE=WMS&amp;version=1.1.1 maxcols=1024 maxrows=1024</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">folder=/home/wg/toposachs {wgetoptions=-c -t 5 --user-agent=MSIE5.5}</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">method=nearest v=1</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">... and I get this:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ERROR 4: `/home/wg/Documents/grass6/wms_download/tk10__0.png' not</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">recognised as a supported file format.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ERROR: r.in.gdalwarp: gdalwarp failure.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Also there are only empty png's in the download folder (and some other</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">files). I think it has something to do with scalehint- restrictions.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Maybe my region- settings are wrong:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">projection: 99 (Transverse Mercator)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">zone: <SPAN class="Apple-converted-space">      </SPAN>0</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">datum:<SPAN class="Apple-converted-space">      </SPAN>potsdam</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ellipsoid:<SPAN class="Apple-converted-space">  </SPAN>a=6377397.155 es=0.006674372231802145</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">north:<SPAN class="Apple-converted-space">      </SPAN>5666684.25180855</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">south:<SPAN class="Apple-converted-space">      </SPAN>5665398.55006475</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">west: <SPAN class="Apple-converted-space">      </SPAN>4683933.19530855</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">east: <SPAN class="Apple-converted-space">      </SPAN>4685477.48200981</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">nsres:<SPAN class="Apple-converted-space">      </SPAN>0.99976807</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ewres:<SPAN class="Apple-converted-space">      </SPAN>1.00018569</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">rows: <SPAN class="Apple-converted-space">      </SPAN>1286</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">cols: <SPAN class="Apple-converted-space">      </SPAN>1544</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">cells:<SPAN class="Apple-converted-space">      </SPAN>1985584</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Can somebody give me a hint?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">grassuser mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://grass.itc.it/mailman/listinfo/grassuser">http://grass.itc.it/mailman/listinfo/grassuser</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>