[GRASS-SVN] r71657 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 10 11:14:25 PST 2017
Author: mmetz
Date: 2017-11-10 11:14:25 -0800 (Fri, 10 Nov 2017)
New Revision: 71657
Modified:
grass/trunk/lib/gis/make_loc.c
Log:
gislib: disable test for datum names in G_compare_projections()
Modified: grass/trunk/lib/gis/make_loc.c
===================================================================
--- grass/trunk/lib/gis/make_loc.c 2017-11-10 18:36:48 UTC (rev 71656)
+++ grass/trunk/lib/gis/make_loc.c 2017-11-10 19:14:25 UTC (rev 71657)
@@ -190,8 +190,11 @@
if ((d_1 && !d_2) || (!d_1 && d_2))
return -3;
- if (d_1 && d_2 && strcmp(d_1, d_2))
- return -3;
+ if (d_1 && d_2 && strcmp(d_1, d_2)) {
+ /* different datum short names can mean the same datum,
+ * see lib/gis/datum.table */
+ G_debug(1, "Different datum names");
+ }
}
/* -------------------------------------------------------------------- */
More information about the grass-commit
mailing list