[GRASS-SVN] r68203 - grass/trunk/general/g.proj
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 2 03:01:24 PDT 2016
Author: martinl
Date: 2016-04-02 03:01:24 -0700 (Sat, 02 Apr 2016)
New Revision: 68203
Modified:
grass/trunk/general/g.proj/datumtrans.c
Log:
g.proj: do not require -t flag when datumtrans=-1 given (keep consistency with grass70)
Modified: grass/trunk/general/g.proj/datumtrans.c
===================================================================
--- grass/trunk/general/g.proj/datumtrans.c 2016-04-01 16:23:32 UTC (rev 68202)
+++ grass/trunk/general/g.proj/datumtrans.c 2016-04-02 10:01:24 UTC (rev 68203)
@@ -130,8 +130,10 @@
G_debug(3, "set_datumtrans(): datum transform terms found "
"with %d options", paramsets);
- if (status == 1 && paramsets > 1)
- /* Parameters are missing and there is a choice to be made */
+ if (paramsets > 1 && (status == 1 || datumtrans == -1))
+ /* Parameters are missing and there is a choice to be
+ made / or / user asked to print datum
+ transformation parameters */
force = 1;
}
More information about the grass-commit
mailing list