[GRASS-SVN] r56973 - grass-addons/grass6/raster/r.in.wms2
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 2 04:39:20 PDT 2013
Author: hamish
Date: 2013-07-02 04:39:19 -0700 (Tue, 02 Jul 2013)
New Revision: 56973
Modified:
grass-addons/grass6/raster/r.in.wms2/wms_base.py
Log:
renamed flag
Modified: grass-addons/grass6/raster/r.in.wms2/wms_base.py
===================================================================
--- grass-addons/grass6/raster/r.in.wms2/wms_base.py 2013-07-02 11:34:07 UTC (rev 56972)
+++ grass-addons/grass6/raster/r.in.wms2/wms_base.py 2013-07-02 11:39:19 UTC (rev 56973)
@@ -72,7 +72,7 @@
self.flags = flags
- if self.flags['o']:
+ if self.flags['s']:
self.params['transparent'] = 'FALSE'
else:
self.params['transparent'] = 'TRUE'
@@ -88,7 +88,7 @@
if options['format'] == "jpeg" and \
not 'format' in driver_props['ignored_params']:
- if not flags['o'] and \
+ if not flags['s'] and \
'WMS' in self.params['driver']:
grass.warning(_("JPEG format does not support transparency"))
@@ -517,7 +517,7 @@
def _OnEarthProperties(self):
props = {}
- props['ignored_flags'] = ['o']
+ props['ignored_flags'] = ['s']
props['ignored_params'] = ['bgcolor', 'styles', 'capfile_output',
'format', 'srs', 'wms_version']
props['req_multiple_layers'] = False
@@ -536,7 +536,7 @@
def _WMTSProperties(self):
props = {}
- props['ignored_flags'] = ['o']
+ props['ignored_flags'] = ['s']
props['ignored_params'] = ['urlparams', 'bgcolor', 'wms_version']
props['req_multiple_layers'] = False
More information about the grass-commit
mailing list