[GRASS-SVN] r33310 - grass/branches/develbranch_6/lib/ogsf
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Sep 7 07:37:46 EDT 2008
Author: martinl
Date: 2008-09-07 07:37:46 -0400 (Sun, 07 Sep 2008)
New Revision: 33310
Modified:
grass/branches/develbranch_6/lib/ogsf/GS2.c
Log:
ogsf: Print only warning if raster map is outside of the region
Modified: grass/branches/develbranch_6/lib/ogsf/GS2.c
===================================================================
--- grass/branches/develbranch_6/lib/ogsf/GS2.c 2008-09-07 10:26:11 UTC (rev 33309)
+++ grass/branches/develbranch_6/lib/ogsf/GS2.c 2008-09-07 11:37:46 UTC (rev 33310)
@@ -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