protected Position computePositionFromUPS(String hemisphere, double easting, double northing) { try { UPSCoord UPS = UPSCoord.fromUPS(hemisphere, easting, northing, globe); return new Position( Angle.fromRadiansLatitude(UPS.getLatitude().radians), Angle.fromRadiansLongitude(UPS.getLongitude().radians), 10e3); } catch (IllegalArgumentException e) { return null; } }