[GRASS-SVN] r63269 - grass/trunk/scripts/r.in.wms
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 28 12:33:33 PST 2014
Author: turek
Date: 2014-11-28 12:33:33 -0800 (Fri, 28 Nov 2014)
New Revision: 63269
Modified:
grass/trunk/scripts/r.in.wms/wms_drv.py
Log:
r.in.wms: wmts fix for maxrow/col
Modified: grass/trunk/scripts/r.in.wms/wms_drv.py
===================================================================
--- grass/trunk/scripts/r.in.wms/wms_drv.py 2014-11-28 20:14:39 UTC (rev 63268)
+++ grass/trunk/scripts/r.in.wms/wms_drv.py 2014-11-28 20:33:33 UTC (rev 63269)
@@ -642,6 +642,10 @@
i_tag = limit.find(self.xml_ns.NsWmts(i[1]))
mat_num_bbox[i[0]] = int(i_tag.text)
+
+ if i[0] in ('max_row', 'max_col'):
+ mat_num_bbox[i[0]] = mat_num_bbox[i[0]] - 1
+
break
return mat_num_bbox
More information about the grass-commit
mailing list