<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; ">Today, I have been able to use r.in.wms for the first time with some success, but only against the servers in the manual (Landsat works great). Others are giving me some errors beyond both my capabilities and their capabilities. The mapserver in the example works in QGis and others,<BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><DIV>I can't get even the capabilities</DIV><DIV>r.in.wms mapserver=<A href="http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx">http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx</A> -l</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>--16:42:14--  <A href="http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx">http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx</A></DIV><DIV>           =&gt; `/Users/Shared/grassdata/Projecte/adiez2/.tmp/regadiuet.prearq.uv.es/14547.0capabilities.xml'</DIV><DIV>Resolving ovc.catastro.meh.es... 193.203.200.44</DIV><DIV>Connecting to ovc.catastro.meh.es[193.203.200.44]:80... connected.</DIV><DIV>HTTP request sent, awaiting response... 200 OK</DIV><DIV>Length: 316 [text/xml]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>100%[=========================================================================================================================================================&gt;] 316           --.--K/s             </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>16:42:14 (3.01 MB/s) - `/Users/Shared/grassdata/Projecte/adiez2/.tmp/regadiuet.prearq.uv.es/14547.0capabilities.xml' saved [316/316]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>WARNING: xml2 NOT avaliable</DIV><DIV>********************************</DIV><DIV>The xml is not there or anywhere else</DIV><DIV>************************************</DIV><DIV>My frustrating results:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>r.in.wms layers=Catastro mapserver=<A href="http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx">http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx</A> output=Catastro</DIV><DIV>Calculating tiles</DIV><DIV>Requesting 2 tiles.</DIV><DIV>Downloading tiles</DIV><DIV>Downloading data</DIV><DIV>Requesting Data from</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><BR class="khtml-block-placeholder"></DIV><DIV>request=GetMap&amp;layers=Catastro&amp;styles=&amp;srs=EPSG:4326&amp;bbox=-.58861800000000000000,38.63127700000000000000,-.35464634808259587021,38.82263078500707213578&amp;width=680&amp;height=709&amp;format=image/geotiff&amp;transparent=TRUE&amp;version=1.1.1</DIV><DIV>16:33:00 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; "/Users/Shared/grassdata/wms_download/Catastro__0.geotiff" [1]</DIV><DIV>Downloading data</DIV><DIV>Requesting Data from</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><BR class="khtml-block-placeholder"></DIV><DIV>request=GetMap&amp;layers=Catastro&amp;styles=&amp;srs=EPSG:4326&amp;bbox=-.35533450000000000000,38.63127700000000000000,-.12067469616519174042,38.82263078500707213578&amp;width=680&amp;height=709&amp;format=image/geotiff&amp;transparent=TRUE&amp;version=1.1.1</DIV><DIV>16:33:01 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; "/Users/Shared/grassdata/wms_download/Catastro__1.geotiff" [1]</DIV><DIV>All tiles downloaded successfully</DIV><DIV>ERROR 4: `/Users/Shared/grassdata/wms_download/Catastro__0.geotiff' not recognised as a supported file format.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>ERROR 4: `/Users/Shared/grassdata/Projecte/adiez2/.tmp/regadiuet.prearq.uv.es/10778.0warped.geotiff' does not exist in the file system,</DIV><DIV>and is not recognised as a supported dataset name.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>ERROR 4: `/Users/Shared/grassdata/wms_download/Catastro__1.geotiff' not recognised as a supported file format.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>ERROR 4: `/Users/Shared/grassdata/Projecte/adiez2/.tmp/regadiuet.prearq.uv.es/10778.0warped.geotiff' does not exist in the file system,</DIV><DIV>and is not recognised as a supported dataset name.</DIV><DIV>****************</DIV><DIV>OK, I will try another another format</DIV><DIV>****************</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>GRASS 6.3.cvs (Projecte):/Volumes/LaCieDisk/Users/Shared/src/grass6/doc/raster/r.example &gt; r.in.wms layers=Catastro mapserver=<A href="http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx">http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx</A> output=Catastro format=png </DIV><DIV>Calculating tiles</DIV><DIV>Requesting 2 tiles.</DIV><DIV>Downloading tiles</DIV><DIV>Downloading data</DIV><DIV>Requesting Data from</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><BR class="khtml-block-placeholder"></DIV><DIV>request=GetMap&amp;layers=Catastro&amp;styles=&amp;srs=EPSG:4326&amp;bbox=-.58861800000000000000,38.63127700000000000000,-.35464634808259587021,38.82263078500707213578&amp;width=680&amp;height=709&amp;format=image/png&amp;transparent=TRUE&amp;version=1.1.1</DIV><DIV>16:33:36 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; "/Users/Shared/grassdata/wms_download/Catastro__0.png" [1]</DIV><DIV>Downloading data</DIV><DIV>Requesting Data from</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><BR class="khtml-block-placeholder"></DIV><DIV>request=GetMap&amp;layers=Catastro&amp;styles=&amp;srs=EPSG:4326&amp;bbox=-.35533450000000000000,38.63127700000000000000,-.12067469616519174042,38.82263078500707213578&amp;width=680&amp;height=709&amp;format=image/png&amp;transparent=TRUE&amp;version=1.1.1</DIV><DIV>16:33:36 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; "/Users/Shared/grassdata/wms_download/Catastro__1.png" [1]</DIV><DIV>All tiles downloaded successfully</DIV><DIV>ERROR 4: `/Users/Shared/grassdata/wms_download/Catastro__0.png' not recognised as a supported file format.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>ERROR 4: `/Users/Shared/grassdata/Projecte/adiez2/.tmp/regadiuet.prearq.uv.es/13176.0warped.geotiff' does not exist in the file system,</DIV><DIV>and is not recognised as a supported dataset name.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>ERROR 4: `/Users/Shared/grassdata/wms_download/Catastro__1.png' not recognised as a supported file format.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>ERROR 4: `/Users/Shared/grassdata/Projecte/adiez2/.tmp/regadiuet.prearq.uv.es/13176.0warped.geotiff' does not exist in the file system,</DIV><DIV>and is not recognised as a supported dataset name.</DIV><DIV>***************************</DIV>This happens to me with most of the wms server at <A href="http://www.sigua.ua.es/es/utilidades/phpwms/index.php">http://www.sigua.ua.es/es/utilidades/phpwms/index.php</A> that, otherwise, are working.<BR><DIV><DIV>On May 30, 2007, at 3:58 PM, Hamish wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Agustin Diez Castillo wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">My experience with wms maps in Grass is more than frustrating, I</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">haven't been able, so far, to import anything with r.in.wms but this</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">is a separtate oddissey.</DIV> </BLOCKQUOTE><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; ">Could you try the r.in.wms in the new 6.2.2rc1 release? I hope we have</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">all the bugs and bashisms fixed now.</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; ">"LANDSAT from OnEarth server download" is a nice demo.</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; ">the r.in.onearth script from the wiki add-ons page is also very nice.</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; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hamish</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>