-
Notifications
You must be signed in to change notification settings - Fork 23
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
updating for start on #291 #309
Conversation
Changes Unknown when pulling 52b6bea on jread-usgs:master into * on USGS-R:master*. |
Merge branch 'master' of github.com:USGS-R/geoknife # Conflicts: # tests/testthat/test-geoknife_setters.R
@wdwatkins can you give this a review and try out the new methods for #291 ? |
So this is just getting the function ready so other projections can be implemented in the future right? No new functionality yet? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything works for me
|
||
stopifnot(grepl('datum=WGS84', proj4string(from))) | ||
|
||
simplegeom <- new("simplegeom", from@polygons, proj4string = CRS("+proj=longlat +datum=WGS84")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the datum for this come from the proj4string, so that others can be used in the future? Then other datums can just be added as 'ors' to the grepl?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think so.
Travis just failure is just a fluke? |
@wdwatkins this does expose a new method, going from an |
Ok I see, you could only do regular |
No description provided.