[Gdal-dev] Patch for GDAL bug#1416

Jean-Claude Repetto jean-claude.repetto at worldonline.fr
Wed Jan 3 08:16:42 EST 2007


Hello,

I suggest this patch to solve bug #1416 :

--- gdal-1.4.0.orig/ogr/ogrsf_frmts/mitab/mitab_coordsys.cpp
2006-03-10 20:55:00.000000000 +0100
+++ gdal-1.4.0/ogr/ogrsf_frmts/mitab/mitab_coordsys.cpp 2007-01-03
14:07:24.000000000 +0100
@@ -786,7 +786,7 @@
  /* -------------------------------------------------------------------- */
  /*      Set prime meridian for 9999 datums.                             */
  /* -------------------------------------------------------------------- */
-    if( nDatum == 9999 )
+    if( nDatum == 9999 || adfDatumParm[7] != 0.0 )
      {
          pszPrimeM = "non-Greenwich";
          dfPMLongToGreenwich = adfDatumParm[7];


Best regards,
Jean-Claude





More information about the Gdal-dev mailing list