Open mtennekes opened 4 years ago
Yes, see https://github.com/r-spatial/sf/blob/master/demo/twitter.R for how messy this can get. I wouldn't go this way until @paleolimbot and I get libs2 done; see https://github.com/paleolimbot/s2plot - I expect this to be operational in a few months. If you want to get here faster, consider helping us with libs2 ;-)
This is one for v4. See also https://github.com/r-spatial/sf/issues/1649#issuecomment-860819840
well, cesium is still my preferred virtual globe implementation. But this would require major efforts to get it into a similar state of usability as e.g. leaflet or mapdeck... I've said it before, we'd need something like a GSOC or RConsortium project to implement it. I'd be happy to serve as a "mentor", but I won't have resources to actually implement it.
Agree. I still have negative resources myself.
I saw this advertisement, already from 5 years ago: https://github.com/rstats-gsoc/gsoc2016/wiki/cesium:-R-interface-to-cesium.js-virtual-globe Still seems like a fun project for young R-enthusiasts like @luukvdmeer.
Oha, I totally forgot about that one :-)
Interesting update: https://github.com/goergen95/cesium
Yes, saw it. Would be nice candidate for a new mode :-)
There is a discussion about CRSs at the Spatial Data Science across Languages (SDSL) event (https://r-spatial.org/sdsl/). One suggestion there (from @edzer) is to try a different default when WGS84 is used (e.g., orthographic projection).
I was thinking orthographic for smaller areas, like having less than 10% of the globe, and Eckhart IV for global maps, maybe also for anything in between. And do the same thing for sf
and tmap
as default. What do you think?
Love this idea @edzer
Aren't there rules of thumb of which CRS to recommend for which scale?
My initial thoughts on this: orthographic for smaller areas definitely good, and pseudo-cylindrical like Eckert IV for global maps also. For intermediate zoom levels it also depends on the center location. The vast majority of these global map projections are centred around lat=0 & long=0. If it is too far off, say North America, there are better alternatives.
Would indeed be nice to have a common CRS-recommendation function somewhere in r-spatial.
Playing around with orthogonal projections...
Created on 2020-06-07 by the reprex package (v0.3.0)
A couple of things for which I need your ideas and help:
world_surface
is slow, because it transforms a medium sized stars object to an sf. Any ideas how to improve it? So what I want to achieve, is a large polygon that covers the whole earth. I wrote a function calledtmaptools::bb_earth
a few years ago, but this doesn't work with orthogonal projections.threejs::globejs
could be used. Other suggestions (or pull requests:-)) are welcome!