浏览代码

ps.map: init PROJ transformation object

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72608 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 7 年之前
父节点
当前提交
e29f6716be
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ps/ps.map/do_geogrid.c

+ 1 - 0
ps/ps.map/do_geogrid.c

@@ -287,6 +287,7 @@ void init_proj(void)
 
     /* Out Info (latlong equivalent of In Info */
     info_out.pj = NULL;
+    info_trans.def = NULL;
 
     if (GPJ_init_transform(&info_in, &info_out, &info_trans) < 0)
 	G_fatal_error(_("Unable to initialize coordinate transformation"));