[GRASS-SVN] r72601 - in grass/trunk/display: d.grid d.where
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 8 06:53:56 PDT 2018
Author: mmetz
Date: 2018-04-08 06:53:56 -0700 (Sun, 08 Apr 2018)
New Revision: 72601
Modified:
grass/trunk/display/d.grid/plot.c
grass/trunk/display/d.where/main.c
Log:
d.grid/d.where: init PROJ transformation object
Modified: grass/trunk/display/d.grid/plot.c
===================================================================
--- grass/trunk/display/d.grid/plot.c 2018-04-08 13:51:06 UTC (rev 72600)
+++ grass/trunk/display/d.grid/plot.c 2018-04-08 13:53:56 UTC (rev 72601)
@@ -599,6 +599,8 @@
G_free_key_value(in_proj_info);
G_free_key_value(in_unit_info);
+ info_trans->def = NULL;
+
if (GPJ_init_transform(info_in, info_out, info_trans) < 0)
G_fatal_error(_("Unable to initialize coordinate transformation"));
Modified: grass/trunk/display/d.where/main.c
===================================================================
--- grass/trunk/display/d.where/main.c 2018-04-08 13:51:06 UTC (rev 72600)
+++ grass/trunk/display/d.where/main.c 2018-04-08 13:53:56 UTC (rev 72601)
@@ -145,6 +145,8 @@
G_free_key_value(in_proj_info);
G_free_key_value(in_unit_info);
+ tproj.def = NULL;
+
if (GPJ_init_transform(&iproj, &oproj, &tproj) < 0)
G_fatal_error(_("Unable to initialize coordinate transformation"));
}
More information about the grass-commit
mailing list