[GRASS-SVN] r55430 - grass/branches/develbranch_6/raster/r.in.gdal

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 18 12:00:45 PDT 2013


Author: neteler
Date: 2013-03-18 12:00:45 -0700 (Mon, 18 Mar 2013)
New Revision: 55430

Modified:
   grass/branches/develbranch_6/raster/r.in.gdal/main.c
Log:
r.in.gdal: report all possible projection mismatches (backport of r55416)

Modified: grass/branches/develbranch_6/raster/r.in.gdal/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.in.gdal/main.c	2013-03-18 19:00:33 UTC (rev 55429)
+++ grass/branches/develbranch_6/raster/r.in.gdal/main.c	2013-03-18 19:00:45 UTC (rev 55430)
@@ -9,7 +9,7 @@
  * PURPOSE:      Imports many GIS/image formats into GRASS utilizing the GDAL
  *               library.
  *
- * COPYRIGHT:    (C) 2001 by Frank Warmerdam
+ * COPYRIGHT:    (C) 2001-2011 by Frank Warmerdam, and the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS
@@ -404,6 +404,15 @@
 		    case -5:
 			strcat(error_msg, "zone\n");
 			break;
+		    case -6:
+			strcat(error_msg, "south\n");
+			break;
+		    case -7:
+			strcat(error_msg, "x_0\n");
+			break;
+		    case -8:
+			strcat(error_msg, "y_0\n");
+			break;
 		    }
 		}
 		else {



More information about the grass-commit mailing list