[GRASS-SVN] r72779 - grass/trunk/lib/proj
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 6 12:17:06 PDT 2018
Author: mmetz
Date: 2018-06-06 12:17:06 -0700 (Wed, 06 Jun 2018)
New Revision: 72779
Modified:
grass/trunk/lib/proj/do_proj.c
Log:
libproj: use new PROJ API starting with proj-5.1.0
Modified: grass/trunk/lib/proj/do_proj.c
===================================================================
--- grass/trunk/lib/proj/do_proj.c 2018-06-06 19:15:27 UTC (rev 72778)
+++ grass/trunk/lib/proj/do_proj.c 2018-06-06 19:17:06 UTC (rev 72779)
@@ -218,7 +218,7 @@
ok = proj_errno(info_trans->pj);
if (ok < 0) {
- G_warning(_("proj_trans() failed: %d"), ok);
+ G_warning(_("proj_trans() failed: %s"), proj_errno_string(ok));
return ok;
}
@@ -443,7 +443,7 @@
G_free(z);
if (ok < 0) {
- G_warning(_("proj_trans() failed: %d"), ok);
+ G_warning(_("proj_trans() failed: %s"), proj_errno_string(ok));
}
#else
/* PROJ 4 variant */
More information about the grass-commit
mailing list