git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65684 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -104,8 +104,9 @@ void check_projection(struct Cell_head *cellhd, GDALDatasetH hDS, int override)
cellhd->proj, cellhd->zone);
}
strcat(error_msg,
- _("\nYou can use the -o flag to r.external to override this check and "
- "use the location definition for the dataset.\n"));
+ _("\nIn case of no significant differences in the projection definitions,"
+ " use the -o flag to ignore them and use"
+ " current location definition.\n"));
_("Consider generating a new location from the input dataset using "
"the 'location' parameter.\n"));
@@ -502,8 +502,9 @@ int main(int argc, char *argv[])
cellhd.proj, cellhd.zone);
- _("\nYou can use the -o flag to r.in.gdal to override this check and "
@@ -445,8 +445,9 @@ int main(int argc, char *argv[])
sprintf(error_msg + strlen(error_msg),
- _("\nYou can use the -o flag to %s to override this projection check.\n"),
- G_program_name());
_("Consider generating a new location with 'location' parameter"
" from input data set.\n"));
@@ -128,7 +128,10 @@ def main():
if diff_result_2:
grass.warning(_("Difference between PROJ_UNITS file of packed map "
"and of current location:\n{diff}").format(diff=''.join(diff_result_2)))
- grass.fatal(_("Projection information does not match. Aborting."))
+ grass.fatal(_("Projection of dataset does not appear to match current location."
+ " In case of no significant differences in the projection definitions,"
+ " current location definition."))
# install in $MAPSET
for element in ['cats', 'cell', 'cellhd', 'cell_misc', 'colr', 'fcell', 'hist']:
@@ -131,7 +131,10 @@ def main():
# new db
fromdb = os.path.join(tmp_dir, 'db.sqlite')
@@ -465,7 +465,9 @@ int main(int argc, char *argv[])
+ " current location definition.\n"),
G_program_name());
@@ -693,7 +693,9 @@ int main(int argc, char *argv[])