Przeglądaj źródła

i.segment: clarify error message - group must be located in the current mapset
(merge https://trac.osgeo.org/grass/changeset/64126 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@64127 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 10 lat temu
rodzic
commit
41319bb657

+ 1 - 1
imagery/i.segment/open_files.c

@@ -37,7 +37,7 @@ int open_files(struct globals *globals)
     /* ****** open the input rasters ******* */
 
     if (!I_get_group_ref(globals->image_group, &Ref))
-	G_fatal_error(_("Unable to read REF file for group <%s>"),
+	G_fatal_error(_("Group <%s> not found in the current mapset"),
 		      globals->image_group);
 
     if (Ref.nfiles <= 0)

+ 1 - 1
imagery/i.segment/write_output.c

@@ -94,7 +94,7 @@ int write_output(struct globals *globals)
 
 	/* open input bands */
 	if (!I_get_group_ref(globals->image_group, &Ref))
-	    G_fatal_error(_("Unable to read REF file for group <%s>"),
+	    G_fatal_error(_("Group <%s> not found in the current mapset"),
 			  globals->image_group);
 	if (Ref.nfiles <= 0)
 	    G_fatal_error(_("Group <%s> contains no raster maps"),