Пример #1
0
  /** 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(',', '.');
  }
Пример #2
0
  /** 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(',', '.');
  }