Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (1.1.8) of this package.
Take me there.
s2 (version 0.4-2)
Google's S2 Library for Geometry on the Sphere
Description
R bindings for Google's s2 library for geometric calculations on the sphere.
Copy Link
Link to current version
Version
Version
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.4-2
0.4-0
0.3-0
0.1-1
Install
install.packages('s2')
Monthly Downloads
304,898
Version
0.4-2
License
Apache License (== 2.0)
Issues
0
Pull Requests
0
Stars
30
Forks
4
Repository
https://github.com/spatstat/s2
Homepage
https://code.google.com/archive/p/s2-geometry-library/
Maintainer
Ege Rubak
Last Published
August 29th, 2019
Functions in s2 (0.4-2)
Search all functions
S2CellIdFromPoint
Make a Vector of S2CellIds From Points on the Sphere
S2Point_interpolate
Interpolation of points on unit sphere
S2LatLngRect_area
Area of s2latlngrect
S2Polygon_union
Union and intersection of two s2polygons
S2Polygons_area
compute areas for a list of s2polygons
S2Polygons_intersect
for two sets of s2polygons, which ones intersect?
S2Polygons_centroid
compute centroids for a list of s2polygons
S2Polygons_intersection
intersection of sets of s2polygons
s2-package
s2: Google's S2 Library for Geometry on the Sphere
S2Polyline_dist
Distance from points to line on sphere
S2Polygon
Construct a S2Polygon
S2Polygon_Contains
Test of Containment in S2Polygon
S2Cap_area
Area of s2cap
S2LatLngRect
Create a rectangle of latitude and longitude on the sphere
S2Cap_Contains
Test of Containment in S2Cap
S2CellId_ToString
Make a vector of S2CellId strings
S2Covering
Approximate a Region on the Sphere by a Covering of S2Cells
S2Cap_GetRectBound
Bounding latitude and longitude rectangle for spherical cap
S2CellId_ToPoint
Convert S2CellId to a S2Point
S2CapFromAxisHeight
Construct a S2Cap using axis and height
S2Cell
Make a list of S2Cells