[GRASS-user] r.in.wms / Wheregroup OSM WMS

Hamish hamish_b at yahoo.com
Sun Apr 25 05:14:15 EDT 2010


Hi Peter,

> I`m trying to access a WMS service for european OSM data
> (german link: http://www.wheregroup.com/de/freier_wms_mit_openstreetmap_daten)
> in GRASS 6.4 with r.in.wms in an EXPSG4326 location
> 
> r.in.wms --o v=5 layers=Wald mapserver=http://osm.wheregroup.com/cgi-bin/osm_basic.xml
> output=Wald
> 
> This produces this error message by r.in.wms:
> 
> ERROR 4: `/shazzam/locations/wms_download/Wald__0.geotiff'
> not recognised as a supported file format.
> ERROR: r.in.gdalwarp: gdalwarp failure.
> 
> The error message is justified, as  the content of
> "Wald__0.geotiff" is actually XML, not a geotiff:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ows="http://www.opengis.net/ows/1.1"
> version="1.1.1" xml:lang="en-US" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd">
>   <ows:Exception exceptionCode="service"
> locator="MissingParameterValue">
>     <ows:ExceptionText>msWFSDispatch(): WFS
> server error. Incomplete WFS request: SERVICE parameter
> missing</ows:ExceptionText>
>   </ows:Exception>
> </ows:ExceptionReport>
> 
> 
> What is the proper r.in.wms configuration to overcome this
> ?

first try setting debug level to 1:
g.gisenv set="DEBUG=1"

this will show you the formed HTTP request string.

as a first stab I'd try the -g flag though.


Hamish



      


More information about the grass-user mailing list