[GRASS-SVN] r57023 - grass/trunk/scripts/r.in.wms
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jul 6 02:31:23 PDT 2013
Author: turek
Date: 2013-07-06 02:31:23 -0700 (Sat, 06 Jul 2013)
New Revision: 57023
Modified:
grass/trunk/scripts/r.in.wms/r.in.wms.py
grass/trunk/scripts/r.in.wms/wms_base.py
Log:
r.in.wms: add png8 format option
Modified: grass/trunk/scripts/r.in.wms/r.in.wms.py
===================================================================
--- grass/trunk/scripts/r.in.wms/r.in.wms.py 2013-07-06 09:28:35 UTC (rev 57022)
+++ grass/trunk/scripts/r.in.wms/r.in.wms.py 2013-07-06 09:31:23 UTC (rev 57023)
@@ -52,7 +52,7 @@
#% key: format
#% type: string
#% description: Image format requested from the server
-#% options: geotiff,tiff,jpeg,gif,png
+#% options: geotiff,tiff,jpeg,gif,png,png8
#% answer: geotiff
#% guisection: Request
#%end
Modified: grass/trunk/scripts/r.in.wms/wms_base.py
===================================================================
--- grass/trunk/scripts/r.in.wms/wms_base.py 2013-07-06 09:28:35 UTC (rev 57022)
+++ grass/trunk/scripts/r.in.wms/wms_base.py 2013-07-06 09:31:23 UTC (rev 57023)
@@ -532,10 +532,10 @@
"""
# format labels
- self.f_labels = ["geotiff", "tiff", "png", "jpeg", "gif"]
+ self.f_labels = ["geotiff", "tiff", "png", "jpeg", "gif", "png8"]
# form for request
- self.formats = ["image/geotiff", "image/tiff", "image/png", "image/jpeg", "image/gif"]
+ self.formats = ["image/geotiff", "image/tiff", "image/png", "image/jpeg", "image/gif", "image/png8"]
self.srs = ("epsg", "crs")
More information about the grass-commit
mailing list