ProjectionHandler fails to recognize no reprojection is needed on datum axis swap in projected CRS

Description

This happens typically in WMS 1.3 requests, the CRS gets parsed as projected, with a datum in lat/lon, while the data might be in the same projection, but with datum lon/lat. CRS.equalsIgnoreMetadata returns false and the machinery assumes reprojection might be needed.
A more comprehensive check for actual reprojection need is required.

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure