[GRASS-SVN] r51385 - grass-addons/grass7/raster/r.in.wms2

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 12 07:08:09 EDT 2012


Author: turek
Date: 2012-04-12 04:08:08 -0700 (Thu, 12 Apr 2012)
New Revision: 51385

Modified:
   grass-addons/grass7/raster/r.in.wms2/wms_base.py
Log:
wms_base.py: Bug in getCapabilities url fixed

Modified: grass-addons/grass7/raster/r.in.wms2/wms_base.py
===================================================================
--- grass-addons/grass7/raster/r.in.wms2/wms_base.py	2012-04-11 22:45:34 UTC (rev 51384)
+++ grass-addons/grass7/raster/r.in.wms2/wms_base.py	2012-04-12 11:08:08 UTC (rev 51385)
@@ -185,7 +185,7 @@
         """!Get capabilities from WMS server
         """
         # download capabilities file
-        cap_url = options['mapserver'] + "service=WMS&request=GetCapabilities&version=" + options['wms_version'] 
+        cap_url = options['mapserver'] + "?service=WMS&request=GetCapabilities&version=" + options['wms_version'] 
         try:
             cap = urlopen(cap_url)
         except IOError:



More information about the grass-commit mailing list