[GRASS-SVN] r68313 - grass/trunk/lib/proj
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 26 02:04:13 PDT 2016
Author: neteler
Date: 2016-04-26 02:04:13 -0700 (Tue, 26 Apr 2016)
New Revision: 68313
Modified:
grass/trunk/lib/proj/convert.c
Log:
libproj: don't mess up PROJCS versus GEOGCS (fixes r68131, see #2456)
Modified: grass/trunk/lib/proj/convert.c
===================================================================
--- grass/trunk/lib/proj/convert.c 2016-04-26 00:49:55 UTC (rev 68312)
+++ grass/trunk/lib/proj/convert.c 2016-04-26 09:04:13 UTC (rev 68313)
@@ -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