Open liuyadong opened 2 hours ago
Here are two things you could try:
ortho = st_crs("+proj=ortho +lon_0=90 +lat_0=60") | /tmp/Nvim-R-edzer/Rsource-430273:4:0: unexpected end of input
ggplot() + |2: geom_sf(data = st_transform(russia, "+proj=eqc +lon_0=-90") +
geom_sf(data = st_transform(russia, ortho)) |3: coord_sf(crs = 4326, expand = F)
eqc = st_crs("+proj=eqc +lon_0=90") | ^
ggplot() + |> NvimR.chunk(echo=TRUE)
geom_sf(data = st_transform(russia, eqc))
Thanks @edzer Russia is just one example, but more generally, it seems that QGIS can preserve the shape as it appears in a global context. I’m curious if geom_sf
offers a similar option without changing the projection.
What exactly do you mean by global context? Could you share the QGIS image?
Describe the bug
Hi, I'm making maps of Russia using
geom_sf
, but the height/width ratio seems off. Is there a way to maintain the shape as it appears in a global context?To Reproduce
Created on 2024-10-23 with reprex v2.1.1