.getConverterTo(XYZ.CRS);
XYZ xyz = latLongToXYZ.convert(latLong);
System.out.println(xyz);
// Compound coordinates - Lat/Long/Alt to XYZ conversion.
Altitude alt = Altitude.valueOf(2000, FOOT);
CompoundCoordinates<LatLong, Altitude> latLongAlt =
CompoundCoordinates.valueOf(latLong, alt);
xyz = latLongAlt.getCoordinateReferenceSystem().getConverterTo(
XYZ.CRS).convert(latLongAlt);
System.out.println(xyz);