Hi,

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,
OnEarth_GRASS
Description:
 Downloads and imports data from WMS servers.
Keywords:
 wms
Usage:
 r.in.wms2.py [-oc] url=string layers=string[,string,...]
output=name
   [srs=value] [region=string] [wms_version=string]
[format=string]
   [method=string] [maxcols=value] [maxrows=value]
[urlparams=string]
   [username=string] [password=string]
[styles=string[,string,...]]
   [bgcolor=string] [driver=string] [capfile=name]
[capfile_output=name]
   [--overwrite] [--verbose] [--quiet]
Flags:
  -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
Parameters:
             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
request
                   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,
OnEarth_GRASS
                   default: WMS_GRASS
         capfile   Capabilities file (input)
  capfile_output   File where capabilities will be saved
(only with 'c' flag).


2.
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>
    sys.exit(main())
  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.


Cheers,
Richard

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.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to