[GRASS-dev] replace r.in.wms by r.in.wms2 (in trunk)

Helmut Kudrnovsky hellik at web.de
Mon Jul 30 15:03:35 PDT 2012


>To enable testing...

tested here with osgeo4w-wingrass7, r52472, win7-64bit(german) and the
examples from the manual [1], region is set to greater alpine region in
europe:

g.region -p
projection: 3 (Latitude-Longitude)
zone:       0
datum:      wgs84
ellipsoid:  wgs84
north:      48:30:07N
south:      43:02:59.5N
west:       4:46:59.5E
east:       17:00:07E
nsres:      0:00:07.5
ewres:      0:00:07.5
rows:       2617
cols:       5865
cells:      15348705


r.in.wms.py mapserver=http://iceds.ge.ucl.ac.uk/cgi-bin/icedswms
layers=landsat_1_01 styles=default,default output=landsat srs=4326
format=png
Traceback (most recent call last):
  File "r.in.wms.py", line 163, in <module>
    sys.exit(main())
  File "r.in.wms.py", line 151, in main
    from wms_gdal_drv import WMSGdalDrv
  File "C:\OSGeo4W\apps\grass\grass-7.0.svn\etc\r.in.wms\wms
_gdal_drv.py", line 7, in <module>
    grass.fatal(_("Unable to load GDAL Python bindings"))
NameError: name 'grass' is not defined
(Mon Jul 30 23:54:02 2012) Command finished (0 sec)      
   

r.in.wms.py mapserver=http://132.156.97.59/cgi-bin/worldmin_en-ca_ows
layers=GSC:WORLD_PrecambrianDomains output=pokus srs=4326 format=jpeg
Traceback (most recent call last):
  File "r.in.wms.py", line 163, in <module>
    sys.exit(main())
  File "r.in.wms.py", line 151, in main
    from wms_gdal_drv import WMSGdalDrv
  File "C:\OSGeo4W\apps\grass\grass-7.0.svn\etc\r.in.wms\wms
_gdal_drv.py", line 7, in <module>
    grass.fatal(_("Unable to load GDAL Python bindings"))
NameError: name 'grass' is not defined                    


[1] http://grass.osgeo.org/grass70/manuals/html70_user/r.in.wms.html



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/replace-r-in-wms-by-r-in-wms2-in-trunk-tp4984318p4991974.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list