DirectPosition eastNorth = new GeneralDirectPosition(eastings, northings);
DirectPosition latLng = osgbToWgs84Transform.transform(eastNorth, eastNorth);
unit.location = new Location(round(latLng.getOrdinate(1), 8), round(latLng.getOrdinate(0), 8));
} finally {
latLongCtx.stop();
}
} catch (NumberFormatException e) {
throw new RuntimeException("NumberFormatException parsing easting/northings '" + entry.getEastings() + ", " + entry.getNorthings() + "'.");
} catch (TransformException e) {
throw Throwables.propagate(e);