@Deprecated
  public static int
      getEPSGCodefromUTS(Coordinate refLonLat) {
    // define base EPSG code value of all UTM zones;
    int epsg_code = 32600;
    // add 100 for all zones in southern hemisphere
    if (refLonLat.y < 0) {
      epsg_code += 100;
    }
    // finally, add zone number to code
    epsg_code += getUTMZoneForLongitude(refLonLat.x);

    return epsg_code;
  }
@Deprecated
  public static int
      getEPSGCodefromUTS(Coordinate refLonLat) {
    
    int epsg_code = 32600;
    
    if (refLonLat.y < 0) {
      epsg_code += 100;
    }
    
    epsg_code += getUTMZoneForLongitude(refLonLat.x);

    return epsg_code;
  }
@ Deprecated public static int getEPSGCodefromUTS ( Coordinate refLonLat ) { // define base EPSG code value of all UTM zones; int epsg_code = 32600 ; // add 100 for all zones in southern hemisphere if ( refLonLat . y < 0 ) { epsg_code += 100 ; } // finally, add zone number to code epsg_code += getUTMZoneForLongitude ( refLonLat . x ) ; return epsg_code ; }
From
http://gis.stackexchange.com/questions/28986/geotoolkit-conversion-from
-lat-long-to-utm
From http : // gis . stackexchange . com / questions / 28986 / geotoolkit - conversion - from - lat - long - to - utm