[GRASS-SVN] r73380 - grass/trunk/scripts/r.in.wms

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 22 18:02:56 PDT 2018


Author: annakrat
Date: 2018-09-22 18:02:56 -0700 (Sat, 22 Sep 2018)
New Revision: 73380

Modified:
   grass/trunk/scripts/r.in.wms/wms_drv.py
Log:
r.in.wms: encode projection

Modified: grass/trunk/scripts/r.in.wms/wms_drv.py
===================================================================
--- grass/trunk/scripts/r.in.wms/wms_drv.py	2018-09-21 15:43:45 UTC (rev 73379)
+++ grass/trunk/scripts/r.in.wms/wms_drv.py	2018-09-23 01:02:56 UTC (rev 73380)
@@ -229,7 +229,7 @@
                                         flags='wf',
                                         epsg=self.params['srs'])
         projection = projection.rstrip('\n')
-        temp_map_dataset.SetProjection(projection)
+        temp_map_dataset.SetProjection(grass.encode(projection))
 
         pixel_x_length = (map_region['maxx'] - map_region['minx']) / int(map_region['cols'])
         pixel_y_length = (map_region['miny'] - map_region['maxy']) / int(map_region['rows'])



More information about the grass-commit mailing list