[GRASS-SVN] r72600 - grass/trunk/general/g.region
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 8 06:51:06 PDT 2018
Author: mmetz
Date: 2018-04-08 06:51:06 -0700 (Sun, 08 Apr 2018)
New Revision: 72600
Modified:
grass/trunk/general/g.region/printwindow.c
Log:
g.region: init PROJ transformation object
Modified: grass/trunk/general/g.region/printwindow.c
===================================================================
--- grass/trunk/general/g.region/printwindow.c 2018-04-08 13:48:12 UTC (rev 72599)
+++ grass/trunk/general/g.region/printwindow.c 2018-04-08 13:51:06 UTC (rev 72600)
@@ -259,6 +259,7 @@
G_free_key_value(in_unit_info);
oproj.pj = NULL;
+ tproj.def = NULL;
if (GPJ_init_transform(&iproj, &oproj, &tproj) < 0)
G_fatal_error(_("Unable to initialize coordinate transformation"));
@@ -494,6 +495,7 @@
G_free_key_value(in_unit_info);
oproj.pj = NULL;
+ tproj.def = NULL;
if (GPJ_init_transform(&iproj, &oproj, &tproj) < 0)
G_fatal_error(_("Unable to initialize coordinate transformation"));
@@ -585,6 +587,8 @@
G_free_key_value(out_proj_info);
G_free_key_value(out_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