[GRASS-SVN] r33311 - grass/trunk/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 7 07:49:01 EDT 2008


Author: martinl
Date: 2008-09-07 07:49:01 -0400 (Sun, 07 Sep 2008)
New Revision: 33311

Modified:
   grass/trunk/lib/ogsf/GS2.c
Log:
ogsf: Print only warning if raster map is outside of the region
(merge from devbr6, r33310)


Modified: grass/trunk/lib/ogsf/GS2.c
===================================================================
--- grass/trunk/lib/ogsf/GS2.c	2008-09-07 11:37:46 UTC (rev 33310)
+++ grass/trunk/lib/ogsf/GS2.c	2008-09-07 11:49:01 UTC (rev 33311)
@@ -1635,8 +1635,8 @@
 	rast_head.south >= wind.north ||
 	rast_head.east <= wind.west || rast_head.west >= wind.east) {
 
-	G_fatal_error(_("Raster map <%s@%s> is outside of current region. Load failed."),
-		      filename, mapset);
+	G_warning(_("Raster map <%s> is outside of current region. Load failed."),
+		  G_fully_qualified_name(filename, mapset));
     }
 
     while (!reuse && (0 < hdata)) {



More information about the grass-commit mailing list