public final int getProjectionType(GridDefRecord gds) {
    String name = getProjectionName(gds).trim();
    switch (name) {
      case "MERC":
        return Mercator;
      case "CONF":
        return LambertConformal;
      case "PS":
        return PolarStereographic;
      default:
        return -1;
    }
  }
public final int getProjectionType(GridDefRecord gds) {
    String name = getProjectionName(gds).trim();
    switch (name) {
      case "MERC":
        return Mercator;
      case "CONF":
        return LambertConformal;
      case "PS":
        return PolarStereographic;
      default:
        return -1;
    }
  }
public final int getProjectionType ( GridDefRecord gds ) { String name = getProjectionName ( gds ) . trim ( ) ; switch ( name ) { case "MERC" : return Mercator ; case "CONF" : return LambertConformal ; case "PS" : return PolarStereographic ; default : return - 1 ; } }
gets the ProjectionType.
gets the ProjectionType .