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

'estimate densities from point patterns': PROJ>=6 compliance #195

Merged
merged 10 commits into from
Feb 17, 2021

Conversation

florisvdh
Copy link
Member

@florisvdh florisvdh commented Sep 16, 2020

This amends PR #27

  • move files in the right folder
  • use (more) future-proof R code (PROJ>=6 compliant), and add a bit explanation on this.

The use of 'proj4string' in R code is confusing in times where PROJ.4 strings are obsoleted.
It can be expected that a more general function name to set an object's CRS will sooner or later
be promoted instead of proj4string<-, hence preparing for that already by using the function instead of the slot.
I expect the proj4string slot will most probably remain in use for compatibility reasons, but
explicitly naming it is better avoided in times where WKT2 strings are actually used to define a CRS.
@florisvdh florisvdh marked this pull request as draft September 16, 2020 13:13
@florisvdh florisvdh changed the title PROJ>=6 compliance in 'estimate densities from point patterns' 'estimate densities from point patterns': PROJ>=6 compliance Sep 23, 2020
@florisvdh florisvdh marked this pull request as ready for review September 23, 2020 13:15
@florisvdh florisvdh merged commit 3408a91 into density Feb 17, 2021
@florisvdh florisvdh deleted the density_fv branch February 17, 2021 10:09
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.

2 participants