// use CRS to convert BBOX to latlon values
CoordinateReferenceSystem crs = parameters.crs;
parameters.bboxLatLonMinXY = crs.inverse(minX, minY);
parameters.bboxLatLonMaxXY = crs.inverse(maxX, maxY);
parameters.bboxLatLonCenter = crs.inverse(medX, medY);
// TODO: use CRS to check value validity?
} catch (NumberFormatException e) {
throw new WMSException(
"Invalid BBOX parameter. BBOX parameter must be in the form of minx, miny, maxx, maxy"