/** 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); }