/**
   * set lat and lon by using GK coordinates
   *
   * @param strEasting Easting component
   * @param strNorthing Northing component
   */
  public void set(String strEasting, String strNorthing) {
    GkPoint gk =
        new GkPoint(
            Common.parseDouble(strEasting), Common.parseDouble(strNorthing), GkPoint.GERMAN_GK);

    this.latDec = TransformCoordinates.germanGkToWgs84(gk).latDec;
    this.lonDec = TransformCoordinates.germanGkToWgs84(gk).lonDec;
    this.utmValid = false;
  }
  /** Get GK easting */
  public String getGKEasting(int decimalplaces) {
    double gkEasting = TransformCoordinates.wgs84ToGermanGk(this).getGkEasting(GkPoint.GERMAN_GK);

    ewe.sys.Double e = new ewe.sys.Double();
    e.set(gkEasting);
    e.decimalPlaces = decimalplaces;
    return e.toString().replace(',', '.');
  }
  /** Get GK northing */
  public String getGKNorthing(int decimalplaces) {
    double gkNorthing = TransformCoordinates.wgs84ToGermanGk(this).getNorthing();

    ewe.sys.Double n = new ewe.sys.Double();
    n.set(gkNorthing);
    n.decimalPlaces = decimalplaces;
    return n.toString().replace(',', '.');
  }
 public String getGermanGkCoordinates(
     int decimalplaces, String pref, String seperator, int region) {
   return TransformCoordinates.wgs84ToGermanGk(this)
       .toString(decimalplaces, pref, seperator, region);
 }
 public String getGermanGkCoordinates() {
   return TransformCoordinates.wgs84ToGermanGk(this).toString(0, "R:", " H:", GkPoint.GERMAN_GK);
 }