Comments (5)
And by the way: available::available("geodist")
gives the all-clear
from geodist.
I'm happy with these and Rcpp, for now Rcpp is basically an assumed basic most of the time!
from geodist.
I'm inclined to default to metres as the basic assumed unit as it is with projections - do you feel strongly for km?
geosphere is metres but others km (or miles :)
x0 <- cbind(0, 0)
x1 <- cbind(0, 1)
## m
geosphere::distGeo(x0, x1)
# [1] 110574.4
## km
spDistsN1(x0, x1, longlat = T)
# [1] 110.5731
## km
fields::rdist.earth(x0, x1, miles = FALSE)
# [1,] 111.3239
I think we (royal) tend to work in m/s as a default rather than km/h - is there a stronger established convention outside of R?
EDIT: it seems cheap ruler uses km default so maybe I need to suck it up
from geodist.
I'm easy on that, but one advantage of default km would be an ability to offer miles as well. That'd require another param, so we may as well just add units
and enable ask options, right? I can't really see us facing much of a parameter overload issue
from geodist.
closing this now that the big three have been implemented, and opening a units
issue to finish the job
from geodist.
Related Issues (20)
- Min/Max Feature HOT 6
- Test georange sequential
- Sequential geodist produces different results to paired HOT 4
- DOC: "geodesic" is listed as "geodetic" in places HOT 1
- deploy pkgdown from travis
- Speed up R API by allowing direct submission of numeric vector objects HOT 13
- geodist gives different results for single row matrix with cheap ruler HOT 3
- Register C Callable HOT 5
- Thanks HOT 3
- Issue warning when cheapdist becomes inaccurate
- Update CRAN version with geodist_paired_vec HOT 6
- mention metres units in doc pages HOT 1
- meters instead of metres HOT 2
- Cheap is being expensive HOT 2
- geodist_max/min functions HOT 3
- error processing tibbles
- Updated version of package fails when y coordinate is called ymax HOT 4
- Request option not to warn when using cheap (or even test distances) HOT 2
- pkgcheck results - main HOT 9
- Fix package man entry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geodist.