[GRASS-SVN] r72603 - grass/trunk/raster/r.latlong
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 8 06:58:55 PDT 2018
Author: mmetz
Date: 2018-04-08 06:58:55 -0700 (Sun, 08 Apr 2018)
New Revision: 72603
Modified:
grass/trunk/raster/r.latlong/Makefile
grass/trunk/raster/r.latlong/main.c
Log:
r.latlong: init PROJ transformation object, clean Makefile
Modified: grass/trunk/raster/r.latlong/Makefile
===================================================================
--- grass/trunk/raster/r.latlong/Makefile 2018-04-08 13:58:14 UTC (rev 72602)
+++ grass/trunk/raster/r.latlong/Makefile 2018-04-08 13:58:55 UTC (rev 72603)
@@ -2,9 +2,8 @@
PGM = r.latlong
-LIBES = $(GPROJLIB) $(RASTERLIB) $(GISLIB) $(PROJLIB)
+LIBES = $(GPROJLIB) $(RASTERLIB) $(GISLIB)
DEPENDENCIES = $(GPROJDEP) $(RASTERDEP) $(GISDEP)
-EXTRA_INC = $(PROJINC)
include $(MODULE_TOPDIR)/include/Make/Module.make
Modified: grass/trunk/raster/r.latlong/main.c
===================================================================
--- grass/trunk/raster/r.latlong/main.c 2018-04-08 13:58:14 UTC (rev 72602)
+++ grass/trunk/raster/r.latlong/main.c 2018-04-08 13:58:55 UTC (rev 72603)
@@ -105,6 +105,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"));
More information about the grass-commit
mailing list