The bug occurs when the transform function doesn't preserve the property that the envelopes min and max points remain the min and max points after the transformation. There is no expectation that this transform will preserve this property (e.g. WGS84 to WebMercator doesn't preserve the ordering due to the inverted Y-axis of WebMercator pixel space).
The fix is to reorder the min/max before constructing the new envelope.
Description
The bug occurs when the transform function doesn't preserve the property that the envelopes min and max points remain the min and max points after the transformation. There is no expectation that this transform will preserve this property (e.g. WGS84 to WebMercator doesn't preserve the ordering due to the inverted Y-axis of WebMercator pixel space).
The fix is to reorder the min/max before constructing the new envelope.
Check List
Have you:
Added unit tests? Yes.
Add cmprefimpl tests? (if appropriate?) N/A
Updated release notes? (if appropriate?) Yes.
Related Issue