hypertidy / anglr

Mesh creation and topology for spatial data (and not just geographic)
https://hypertidy.github.io/anglr/
83 stars 10 forks source link

L3bin scheme as mesh #156

Open mdsumner opened 4 years ago

mdsumner commented 4 years ago

finally do this right

## sosoc/croc
init <- initbin(36)
 x <- bin2bounds(1:init$totbins, 36)
 X <- c(t(cbind(x$west, x$east, x$east, x$west)))
 Y <- c(t(cbind(x$south, x$south, x$north, x$north)))
 XYZ <-vorsph::ll2cart(cbind(X, Y, 0))
 quads3d(XYZ, col = rep(sample(grey.colors(25)), each  = 4))