Ticket #2134: gdal-1.5.0-bug-ogr_srs_proj4.patch
| File gdal-1.5.0-bug-ogr_srs_proj4.patch, 1.0 kB (added by dgrichard, 4 months ago) |
|---|
-
ogr/ogr_srs_proj4.cpp
old new 697 697 const char *pszValue; 698 698 int bFullyDefined = FALSE; 699 699 700 /* re-initialization of prime meridian and Greenwich shift */701 /* to prevent counting them twice */702 pszPM = NULL;703 dfFromGreenwich = 0.0;704 705 700 pszValue = CSLFetchNameValue(papszNV, "datum"); 706 701 if( pszValue == NULL ) 707 702 { … … 913 908 /* do we want to insert a PROJ.4 EXTENSION item? */ 914 909 /* -------------------------------------------------------------------- */ 915 910 if( strstr(pszProj4,"wktext") != NULL ) 916 {917 CPLDebug( "OGR_PROJ4", "WKT extension asked :\n%s",918 pszProj4 );919 911 SetExtension( GetRoot()->GetValue(), "PROJ4", pszProj4 ); 920 }921 912 922 913 CSLDestroy( papszNV ); 923 914
