calculator.setStartingGeographicPoint(bboxAdjustedToScreen.getMinX(), centerY);
calculator.setDestinationGeographicPoint(bboxAdjustedToScreen.getMaxX(), centerY);
double geoWidthInEllipsoidUnits = calculator.getOrthodromicDistance();
DistanceUnit ellipsoidUnit = DistanceUnit.fromString(calculator.getEllipsoid().getAxisUnit().toString());
geoWidthInInches = ellipsoidUnit.convertTo(geoWidthInEllipsoidUnits, DistanceUnit.IN);
} else {
// (scale * width ) / dpi = geowidith
geoWidthInInches = projUnit.convertTo(bboxAdjustedToScreen.getWidth(), DistanceUnit.IN);
}