Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix undesirable artefacts during map zooming/cropping for some CRS #120

Merged
merged 21 commits into from
Jan 22, 2023

Conversation

bodkan
Copy link
Owner

@bodkan bodkan commented Jan 18, 2023

This PR fixes issue #116. In particular, it reverses the order of CRS transformation -> cropping, into cropping -> CRS transformation as explained here.

This results in minor changes in the appearance of transformed maps (i.e. maps which use a projected CRS instead of the WGS-84/EPSG:4326 geodesic lat/lon coordinate system). The changes are, however, purely aesthetic and not functional. For an example see this.

@codecov-commenter
Copy link

Codecov Report

Merging #120 (24dcab8) into main (13133ed) will decrease coverage by 0.01%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
- Coverage   81.96%   81.96%   -0.01%     
==========================================
  Files           6        6              
  Lines        2967     2966       -1     
==========================================
- Hits         2432     2431       -1     
  Misses        535      535              
Impacted Files Coverage Δ
R/interface.R 79.58% <80.00%> (-0.04%) ⬇️
R/compilation.R 89.35% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bodkan
Copy link
Owner Author

bodkan commented Jan 22, 2023

Plots in the vignette with examples from the slendr paper needed minor cosmetic updates. All done now.

@bodkan bodkan merged commit 16dd0d0 into main Jan 22, 2023
@bodkan bodkan deleted the fix-map-cropping branch February 2, 2023 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strange things are happening with custom CRS projections in some corners of the world
2 participants