Commits

Karsten Engsager  committed 796c42a

Error in geoid corrected RES->RGH
A warning removed

  • Participants
  • Parent commits fa613dc

Comments (0)

Files changed (2)

File TR_SRC/gd_trans.c

             H   = (i_sep != 'E') ? H_in + igh : H_in;
           }
         } else
-        if (RES < 0) {
+        if (RGH < 0) {
           if (RES > RGH) RES = RGH;
           if (tr_error != NULL)
              (void) fprintf(tr_error, "%s\n%s\n", err_txt, usertxt);

File TR_SRC/kmsshp_tr.c

 //struct SHPRMinMax      KMS_ShpMinMaxM;
   int                    KMS_ShapeType;
 
-  int              curpos, Z_pos = 0.0, boxpos = 0, Zboxpos, recused, wpos;
+  int              curpos, Z_pos = 0, boxpos = 0, Zboxpos, recused, wpos;
   int              Rncount, Rlcount, Rucount, ZMcount;
   int              ZMType, Z_Type = 0, i, tr_res, qTrn = 0;
   int              FileLength, RecordLength;