Distortion Plotting Into a GeoAxis After Recent Update
I just updated to Tyler v0.2.4 and GeoMakie v0.7.15 and have a new issue plotting into a GeoAxis.
Plotting into an Axis with
f = Figure()
usa_region = Rect2f(-85, 27, 20, 15)
ax = Axis(f[1,1])
m = Tyler.Map(usa_region; figure=f, axis=ax);
wait(m)
f
gives a nice map:
There is some distortion plotting into a GeoAxis now with
f = Figure()
usa_region = Rect2f(-85, 27, 20, 15)
ax = GeoAxis(f[1,1],
xgridvisible = false,
xticksvisible = false,
xticklabelsvisible = false,
ygridvisible = false,
yticksvisible = false,
yticklabelsvisible = false,
dest="+proj=webmerc +datum=WGS84",
)
m = Tyler.Map(usa_region; figure=f, axis=ax);
wait(m)
f
Which Makie backend (GLMakie, WGLMakie) was this on?
This was with CairoMakie.
Ah, which version were you updating from?
It was probably using the image recipe which should never have worked. CairoMakie will need a specialized meshimage rendering pipeline to do this, we should probably just add that.
Are you able to use GLMakie? CairoMakie is in general not well supported by Tyler.
Looking back at previous versions of the project Manifest, Tyler was v0.2.3, GeoMakie was v0.7.13, and CairoMakie was v0.13.10. The example above was with Tyler v0.2.4, GeoMakie v0.7.15, and CairoMakie v0.15.4.
I was trying to use CairoMakie for this as the plots are for publication and elements of the plots are lines, scatter points, etc. which are not raster data.