[GRASS-dev] wms in wxgrass?

Agustin Diez Castillo Agustin.Diez at uv.es
Wed May 30 10:48:37 EDT 2007


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,
I can't get even the capabilities
r.in.wms mapserver=http://ovc.catastro.meh.es/Cartografia/WMS/ 
ServidorWMS.aspx -l
List of layers for server
http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx:
--16:42:14--  http://ovc.catastro.meh.es/Cartografia/WMS/ 
ServidorWMS.aspx
            => `/Users/Shared/grassdata/Projecte/adiez2/.tmp/ 
regadiuet.prearq.uv.es/14547.0capabilities.xml'
Resolving ovc.catastro.meh.es... 193.203.200.44
Connecting to ovc.catastro.meh.es[193.203.200.44]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 316 [text/xml]

100% 
[======================================================================= 
======================================================================== 
==========>] 316           --.--K/s

16:42:14 (3.01 MB/s) - `/Users/Shared/grassdata/Projecte/adiez2/.tmp/ 
regadiuet.prearq.uv.es/14547.0capabilities.xml' saved [316/316]

WARNING: xml2 NOT avaliable
********************************
The xml is not there or anywhere else
************************************
My frustrating results:

r.in.wms layers=Catastro mapserver=http://ovc.catastro.meh.es/ 
Cartografia/WMS/ServidorWMS.aspx output=Catastro
Calculating tiles
Requesting 2 tiles.
Downloading tiles
Downloading data
Requesting Data from
http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx:

request=GetMap&layers=Catastro&styles=&srs=EPSG:4326&bbox=-. 
58861800000000000000,38.63127700000000000000,-. 
35464634808259587021,38.82263078500707213578&width=680&height=709&format 
=image/geotiff&transparent=TRUE&version=1.1.1
16:33:00 URL:http://ovc.catastro.meh.es/Cartografia/WMS/ 
ServidorWMS.aspx [316/316] -> "/Users/Shared/grassdata/wms_download/ 
Catastro__0.geotiff" [1]
Downloading data
Requesting Data from
http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx:

request=GetMap&layers=Catastro&styles=&srs=EPSG:4326&bbox=-. 
35533450000000000000,38.63127700000000000000,-. 
12067469616519174042,38.82263078500707213578&width=680&height=709&format 
=image/geotiff&transparent=TRUE&version=1.1.1
16:33:01 URL:http://ovc.catastro.meh.es/Cartografia/WMS/ 
ServidorWMS.aspx [316/316] -> "/Users/Shared/grassdata/wms_download/ 
Catastro__1.geotiff" [1]
All tiles downloaded successfully
ERROR 4: `/Users/Shared/grassdata/wms_download/Catastro__0.geotiff'  
not recognised as a supported file format.

ERROR 4: `/Users/Shared/grassdata/Projecte/adiez2/.tmp/ 
regadiuet.prearq.uv.es/10778.0warped.geotiff' does not exist in the  
file system,
and is not recognised as a supported dataset name.

ERROR 4: `/Users/Shared/grassdata/wms_download/Catastro__1.geotiff'  
not recognised as a supported file format.

ERROR 4: `/Users/Shared/grassdata/Projecte/adiez2/.tmp/ 
regadiuet.prearq.uv.es/10778.0warped.geotiff' does not exist in the  
file system,
and is not recognised as a supported dataset name.
****************
OK, I will try another another format
****************

GRASS 6.3.cvs (Projecte):/Volumes/LaCieDisk/Users/Shared/src/grass6/ 
doc/raster/r.example > r.in.wms layers=Catastro mapserver=http:// 
ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx output=Catastro  
format=png
Calculating tiles
Requesting 2 tiles.
Downloading tiles
Downloading data
Requesting Data from
http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx:

request=GetMap&layers=Catastro&styles=&srs=EPSG:4326&bbox=-. 
58861800000000000000,38.63127700000000000000,-. 
35464634808259587021,38.82263078500707213578&width=680&height=709&format 
=image/png&transparent=TRUE&version=1.1.1
16:33:36 URL:http://ovc.catastro.meh.es/Cartografia/WMS/ 
ServidorWMS.aspx [316/316] -> "/Users/Shared/grassdata/wms_download/ 
Catastro__0.png" [1]
Downloading data
Requesting Data from
http://ovc.catastro.meh.es/Cartografia/WMS/ServidorWMS.aspx:

request=GetMap&layers=Catastro&styles=&srs=EPSG:4326&bbox=-. 
35533450000000000000,38.63127700000000000000,-. 
12067469616519174042,38.82263078500707213578&width=680&height=709&format 
=image/png&transparent=TRUE&version=1.1.1
16:33:36 URL:http://ovc.catastro.meh.es/Cartografia/WMS/ 
ServidorWMS.aspx [316/316] -> "/Users/Shared/grassdata/wms_download/ 
Catastro__1.png" [1]
All tiles downloaded successfully
ERROR 4: `/Users/Shared/grassdata/wms_download/Catastro__0.png' not  
recognised as a supported file format.

ERROR 4: `/Users/Shared/grassdata/Projecte/adiez2/.tmp/ 
regadiuet.prearq.uv.es/13176.0warped.geotiff' does not exist in the  
file system,
and is not recognised as a supported dataset name.

ERROR 4: `/Users/Shared/grassdata/wms_download/Catastro__1.png' not  
recognised as a supported file format.

ERROR 4: `/Users/Shared/grassdata/Projecte/adiez2/.tmp/ 
regadiuet.prearq.uv.es/13176.0warped.geotiff' does not exist in the  
file system,
and is not recognised as a supported dataset name.
***************************
This happens to me with most of the wms server at http:// 
www.sigua.ua.es/es/utilidades/phpwms/index.php that, otherwise, are  
working.
On May 30, 2007, at 3:58 PM, Hamish wrote:

> Agustin Diez Castillo wrote:
>> My experience with wms maps in Grass is more than frustrating, I
>> haven't been able, so far, to import anything with r.in.wms but this
>> is a separtate oddissey.
>
> Could you try the r.in.wms in the new 6.2.2rc1 release? I hope we have
> all the bugs and bashisms fixed now.
>
> "LANDSAT from OnEarth server download" is a nice demo.
>
> the r.in.onearth script from the wiki add-ons page is also very nice.
>
>
> Hamish
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20070530/8c44f2dc/attachment.html


More information about the grass-dev mailing list