//change from request crs to coverage crs in order to compute a minimal request area,
// TODO this code need to be made much more robust
if (requestedCRS != null) {
final CoordinateReferenceSystem targetCRS = coverageGeometry.getCoordinateReferenceSystem();
final TransformedDirectPosition arbitraryToInternal = new
TransformedDirectPosition(requestedCRS, targetCRS, new Hints(Hints.LENIENT_DATUM_SHIFT,Boolean.TRUE));
try {
arbitraryToInternal.transform(position);
} catch (TransformException exception) {
throw new CannotEvaluateException("Unable to answer the geatfeatureinfo",exception);
}
position=arbitraryToInternal;
}