[GRASS-SVN] r68331 - grass/branches/releasebranch_7_0/lib/proj
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Apr 29 06:11:53 PDT 2016
Author: neteler
Date: 2016-04-29 06:11:53 -0700 (Fri, 29 Apr 2016)
New Revision: 68331
Modified:
grass/branches/releasebranch_7_0/lib/proj/convert.c
Log:
libproj: don't mess up PROJCS versus GEOGCS (fixes r68131, see #2456) (trunk, r68313)
Modified: grass/branches/releasebranch_7_0/lib/proj/convert.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/proj/convert.c 2016-04-29 10:34:29 UTC (rev 68330)
+++ grass/branches/releasebranch_7_0/lib/proj/convert.c 2016-04-29 13:11:53 UTC (rev 68331)
@@ -141,9 +141,12 @@
return NULL;
}
G_free(proj4mod);
+
+ /* this messes up PROJCS versus GEOGCS!
sysname = G_find_key_value("name", proj_info);
if (sysname)
OSRSetProjCS(hSRS, sysname);
+ */
if ((errcode = OSRExportToWkt(hSRS, &wkt)) != OGRERR_NONE) {
G_warning(_("OGR can't get WKT-style parameter string "
More information about the grass-commit
mailing list