Panfeng Zhang
Panfeng Zhang
Thank you. The issue was solved using your method. ```{r} rm(list = ls()) library(sf) library(rnaturalearth) library(stars) library(ggplot2) wld
> This issue can also be solved by using this method. Thank you. ```{r} rm(list = ls()) library(sf) library(rnaturalearth) library(stars) library(ggplot2) wld
> What blocks the ticks is that the graticule lines don't intersect with the plot boundaries. To draw ticks for any sort of strange, non-linear coordinate system the only reasonable...
> I would be worried that there are many cases in which it could go wrong, in particular since the limits will depend on the CRS in which the geometries...
Thanks. It solved my issue.
> Do have a reproducible example to demonstrate what you mean and what you're hoping to achieve @PanfengZhang ? Thank you very much. I want to convert the projection center...
> This is a good question and I think it's worth adding an example to Chapter 6 demonstrating how to do it. I think the `lon_0=-74` bit in the command...
> Have a look at the section Example of a failed projection [here](https://mgimond.github.io/Spatial/coordinate-systems-in-r.html) and/or use another projection as already suggested by @Robinlovelace. Thank you very much!
> Here's a crude solution that removes everything near the map edge in the new projection: > > ```r > rm(list = ls()) > library(spData) > library(ggplot2) > library(sf) >...