Skip to content

Convert Geo-Stuff from sp to sf#6

Open
rnuske wants to merge 14 commits into
AWF-GAUG:masterfrom
rnuske:sf
Open

Convert Geo-Stuff from sp to sf#6
rnuske wants to merge 14 commits into
AWF-GAUG:masterfrom
rnuske:sf

Conversation

@rnuske
Copy link
Copy Markdown

@rnuske rnuske commented Feb 16, 2020

Just replaced the calls to sp-functions with sf-functions. Tried to change as little as possible.

This pull request builds on the changes in #5 and thus appears larger than it actually is.

I created testthat unit test for all functions doing geo processing to ensure identical result after conversion.

The transformation of an sf-object to owin leads to a different order of tiles and subsequentially to different sample points due to a different state of the RNG. Thus I took a detour over SpatialPolygons to owin to make the unit test happy. This should be cut out later.

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.

1 participant