owlpinetech/flatsphere

Oblique projection bounds need rotation?

Closed this issue · 1 comments

The following fuzz test fails on basic inputs:

func FuzzTransverseMercatorProjectBounded(f *testing.F) {
    projectionBoundedFuzz(f, NewObliqueProjection(NewMercator(), 0, math.Pi/2, -math.Pi/2))
}

However, the test succeeds for regular Mercator. Does this indicate that planar bounds 'corners' need to be rotated based on the oblique rotation? This probably makes sense, given that Transverse Mercator is taller than it is wide, but we also have to handle this in the general case.

Not relevant: due to how the Oblique project/inverse work, bounds adjustments are not needed.