[GRASS-user] r.in.wms2: should this work on GRASS 6.4.3RC3?

RichardC richtcooper at hotmail.com
Mon Jul 1 07:00:01 PDT 2013


I've installed r.in.wms2 into GRASS 6.4.3RC3, but I cannot import a layer. 

Here are two examples of output (using different drivers):

r.in.wms2.py url=http://neowms.sci.gsfc.nasa.gov/wms/wms?
layers=MOD14A1_E_FIRE output=MOD14A1_E_FIRE maxcols=398

ERROR: value <WMS_GRASS> out of range for parameter <driver>
       Legal range: WMS_GDAL, WMS_GRASS, WMTS_GRASS,
 Downloads and imports data from WMS servers.
 r.in.wms2.py [-oc] url=string layers=string[,string,...]
   [srs=value] [region=string] [wms_version=string]
   [method=string] [maxcols=value] [maxrows=value]
   [username=string] [password=string]
   [bgcolor=string] [driver=string] [capfile=name]
   [--overwrite] [--verbose] [--quiet]
  -o   Don't request transparent data
  -c   Get capabilities
 --o   Allow output files to overwrite existing files
 --v   Verbose module output
 --q   Quiet module output
             url   URL of WMS server
          layers   Layers to request from map server
          output   Name for output raster map
             srs   EPSG number of source projection for
                   default: 4326
          region   Named region to request data for. Current
region used if omitted
     wms_version   WMS standard
                   options: 1.1.1,1.3.0
                   default: 1.1.1
          format   Image format requested from the server
                   options: geotiff,tiff,jpeg,gif,png
                   default: geotiff
          method   Reprojection method to use
                   options: near,bilinear,cubic,cubicspline
                   default: near
         maxcols   Maximum columns to request at a time
                   default: 400
         maxrows   Maximum rows to request at a time
                   default: 300
       urlparams   Additional query parameters for server
        username   Username for server connection
        password   Password for server connection
          styles   Styles to request from map server
         bgcolor   Color of map background
          driver   Driver for communication with server
                   options: WMS_GDAL, WMS_GRASS, WMTS_GRASS,
                   default: WMS_GRASS
         capfile   Capabilities file (input)
  capfile_output   File where capabilities will be saved
(only with 'c' flag).

r.in.wms2.py url=http://neowms.sci.gsfc.nasa.gov/wms/wms?
layers=MOD14A1_E_FIRE output=MOD14A1_E_FIRE maxcols=398 driver=WMS_GDAL
Traceback (most recent call last):
  File "/home/rcooper/.grass6/addons/r.in.wms2.py", line
230, in <module>
  File "/home/rcooper/.grass6/addons/r.in.wms2.py", line
213, in main
    from wms_gdal_drv import WMSGdalDrv
ImportError: No module named wms_gdal_drv

Any ideas how I should proceed. Will also test on GRASS 7.


Linux Mint 13 (ubuntu Precise)

View this message in context: http://osgeo-org.1560.x6.nabble.com/r-in-wms2-should-this-work-on-GRASS-6-4-3RC3-tp5063334.html
Sent from the Grass - Users mailing list archive at Nabble.com.

More information about the grass-user mailing list