hypertidy / quadmesh

raster grid as indexed quad mesh
https://hypertidy.github.io/quadmesh/
25 stars 2 forks source link

mesh_plot needs to catch attempt to transform to crs when projection(x) is not defined and coords is given #13

Closed mdsumner closed 5 years ago

mdsumner commented 5 years ago

e.g. in angstroms

mesh_plot(temp0[[2]], crs = projection(boxes))

temp0 has no CRS, so coords must be supplied

mdsumner commented 5 years ago

Merge the logic in quadmesh() itself into a separate function and replace for mesh_plot

mdsumner commented 5 years ago

target_coordinates() already has the logic, just allowed it to shortcut return when no projection required

mdsumner commented 5 years ago

Sweet, all done!

image