Open joshday opened 3 months ago
As a temporary workaround, is there a way to remove the coordinate transformation?
Makie.heatmap(parent(raster))
!
But we do have the code for the rotation in the plots recipes, it should be too hard to hook up, it's just about time to do it when I don't ever need it.
Maybe set(A, X => No lookup, Y => NoLookup)
is better to keep dim names.
On main of DD it's just set(A, NoLookup)
It could always decompose to matrix like lookups, I suppose...
Edit: did Rasters ever have those or am I completely misremembering??
No, I never wrote it. Transformed gets you half way.
But what would that give us for plotting that the affine transform function doesn't? Can we just use the affine transform directly in Makie to transform pixel coordinates in the hearmap?
Not really, unless you return a plotspec. Plus, I don't think it would play well with GeoMakie at all since affine transforms are applied after the nonlinear transform function...
Proj does have the capability to affine transform internally though, so maybe we could use that? It sounds fragile though.
Hmm. Making GeoMakie handle affine transforms seems important too. Or is a matrix easier?
Well Makie in general can't handle affine transforms before the transform_func, unless you explicitly compose the transform_func.
A general solution here would be a chained Proj pipeline + surface
though.
Plots.plot
works, butMakie.plot
produces an error.Reproducing