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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 4 07:00:58 PDT 2019


Author: neteler
Date: 2019-04-04 07:00:58 -0700 (Thu, 04 Apr 2019)
New Revision: 74346

Modified:
   grass/trunk/scripts/r.in.wms/wms_base.py
Log:
r.in.wms: msg cosmetics

Modified: grass/trunk/scripts/r.in.wms/wms_base.py
===================================================================
--- grass/trunk/scripts/r.in.wms/wms_base.py	2019-04-04 10:58:55 UTC (rev 74345)
+++ grass/trunk/scripts/r.in.wms/wms_base.py	2019-04-04 14:00:58 UTC (rev 74346)
@@ -6,7 +6,7 @@
  - wms_base::GRASSImporter
  - wms_base::WMSDriversInfo
 
-(C) 2012-2016 by the GRASS Development Team
+(C) 2012-2019 by the GRASS Development Team
 
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -127,8 +127,8 @@
         if 'epsg' in target_crs.keys():
             self.target_epsg = target_crs['epsg']
             if self.source_epsg != self.target_epsg:
-                grass.warning(_("Source EPSG %s != location EPSG %s") % 
-                              (self.source_epsg, self.target_epsg))
+                grass.warning(_("SRS differences: WMS source EPSG %s != location EPSG %s (use srs=%s to adjust)") % 
+                              (self.source_epsg, self.target_epsg, self.target_epsg))
 
         self.proj_srs = grass.read_command('g.proj',
                                            flags='jf',



More information about the grass-commit mailing list