[GRASS-SVN] r72604 - grass/trunk/raster/r.in.gdal
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 8 07:01:09 PDT 2018
Author: mmetz
Date: 2018-04-08 07:01:09 -0700 (Sun, 08 Apr 2018)
New Revision: 72604
Modified:
grass/trunk/raster/r.in.gdal/main.c
Log:
r.in.gdal: init PROJ transformation object
Modified: grass/trunk/raster/r.in.gdal/main.c
===================================================================
--- grass/trunk/raster/r.in.gdal/main.c 2018-04-08 13:58:55 UTC (rev 72603)
+++ grass/trunk/raster/r.in.gdal/main.c 2018-04-08 14:01:09 UTC (rev 72604)
@@ -931,6 +931,7 @@
G_fatal_error(_("Unable to get projection units of target location"));
if (pj_get_kv(oproj, out_proj_info, out_unit_info) < 0)
G_fatal_error(_("Unable to get projection key values of target location"));
+ 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