[GRASS-user] GRASS7: problems with WMS

Markus Neteler neteler at osgeo.org
Fri Sep 19 21:03:43 PDT 2014

On Fri, Sep 19, 2014 at 1:49 PM, peifer <peifer at gmx.eu> wrote:
> Maybe this helps to locate the problem. If not: I simply have to give up
> loading a WMS with GRASS7. Hermann
> [GRASS6.4.5svn]> r.in.wms map=http://wms.cuzk.cz/wms.asp out=wms layers=kn
> srs=EPSG:3035 format=png
> Calculating tiles
> Requesting 30 tiles.
> Downloading tiles
> ...


> [GRASS7.0.0svn]> r.in.wms url=http://wms.cuzk.cz/wms.asp out=wms layers=kn srs=3035 format=png
> ERROR: Sorry, <input> is not a valid parameter
> ERROR: Unable to determine region, m.proj failed

Which version (g.version -g) do you use?

I have made a test:

GRASS 7.0.0svn (latlong):~ > g.region n=90 s=-90 w=-180 e=180
res=0:30:00 -pprojection: 3 (Latitude-Longitude)
zone:       0
datum:      wgs84
ellipsoid:  wgs84
north:      90N
south:      90S
west:       180W
east:       180E
nsres:      0:30
ewres:      0:30
rows:       360
cols:       720
cells:      259200

GRASS 7.0.0svn (latlong):~ > r.in.wms
layers=osm_auto:all output=osm format=png --o
Downloading data from WMS server...
Importing raster map into GRASS...
WARNING: Raster map <osm> already exists and will be overwritten
<osm> created.
WARNING: Raster map <osm.alpha at neteler> is a base map for <MASK at neteler>.
         Remove forced.

GRASS 7.0.0svn (latlong):~ > g.version -g

Works ok with the OSM server.


More information about the grass-user mailing list