R: Spherical Geometry Operators Using the S2 Geometry Library

# Spherical Geometry Operators Using the S2 Geometry Library

## Documentation for package ‘s2’ version 1.0.6

- DESCRIPTION file.

## Help Pages

A N S

## -- A --

as.data.frame.s2_lnglat | Create an S2 LngLat Vector
as.data.frame.s2_point | Create an S2 Point Vector
as.matrix.s2_lnglat | Create an S2 LngLat Vector
as.matrix.s2_point | Create an S2 Point Vector
as_s2_cell | Create S2 Cell vectors
as_s2_cell.character | Create S2 Cell vectors
as_s2_cell.s2_cell | Create S2 Cell vectors
as_s2_cell.s2_geography | Create S2 Cell vectors
as_s2_cell.s2_lnglat | Create S2 Cell vectors
as_s2_cell.s2_point | Create S2 Cell vectors
as_s2_geography | Create an S2 Geography Vector
as_s2_geography.blob | Create an S2 Geography Vector
as_s2_geography.character | Create an S2 Geography Vector
as_s2_geography.logical | Create an S2 Geography Vector
as_s2_geography.s2_geography | Create an S2 Geography Vector
as_s2_geography.s2_lnglat | Create an S2 Geography Vector
as_s2_geography.s2_point | Create an S2 Geography Vector
as_s2_geography.WKB | Create an S2 Geography Vector
as_s2_geography.wk_wkb | Create an S2 Geography Vector
as_s2_geography.wk_wkt | Create an S2 Geography Vector
as_s2_lnglat | Create an S2 LngLat Vector
as_s2_lnglat.matrix | Create an S2 LngLat Vector
as_s2_lnglat.s2_geography | Create an S2 LngLat Vector
as_s2_lnglat.s2_lnglat | Create an S2 LngLat Vector
as_s2_lnglat.s2_point | Create an S2 LngLat Vector
as_s2_point | Create an S2 Point Vector
as_s2_point.matrix | Create an S2 Point Vector
as_s2_point.s2_geography | Create an S2 Point Vector
as_s2_point.s2_lnglat | Create an S2 Point Vector
as_s2_point.s2_point | Create an S2 Point Vector
as_wkb.s2_geography | Create an S2 Geography Vector
as_wkb.s2_lnglat | Create an S2 LngLat Vector
as_wkt.s2_geography | Create an S2 Geography Vector
as_wkt.s2_lnglat | Create an S2 LngLat Vector

## -- N --

new_s2_cell | Create S2 Cell vectors

## -- S --

s2_area | S2 Geography Accessors
s2_as_binary | Create and Format Geography Vectors
s2_as_text | Create and Format Geography Vectors
s2_boundary | S2 Geography Transformations
s2_bounds_cap | Compute feature-wise and aggregate bounds
s2_bounds_rect | Compute feature-wise and aggregate bounds
s2_buffer_cells | S2 Geography Transformations
s2_cell | Create S2 Cell vectors
s2_cell_area | S2 cell operators
s2_cell_area_approx | S2 cell operators
s2_cell_boundary | S2 cell operators
s2_cell_center | S2 cell operators
s2_cell_child | S2 cell operators
s2_cell_contains | S2 cell operators
s2_cell_debug_string | S2 cell operators
s2_cell_distance | S2 cell operators
s2_cell_edge_neighbour | S2 cell operators
s2_cell_invalid | Create S2 Cell vectors
s2_cell_is_face | S2 cell operators
s2_cell_is_leaf | S2 cell operators
s2_cell_is_valid | S2 cell operators
s2_cell_level | S2 cell operators
s2_cell_max_distance | S2 cell operators
s2_cell_may_intersect | S2 cell operators
s2_cell_parent | S2 cell operators
s2_cell_polygon | S2 cell operators
s2_cell_sentinel | Create S2 Cell vectors
s2_cell_to_lnglat | S2 cell operators
s2_cell_vertex | S2 cell operators
s2_centroid | S2 Geography Transformations
s2_centroid_agg | S2 Geography Transformations
s2_closest_edges | Matrix Functions
s2_closest_feature | Matrix Functions
s2_closest_point | S2 Geography Transformations
s2_contains | S2 Geography Predicates
s2_contains_matrix | Matrix Functions
s2_coverage_union_agg | S2 Geography Transformations
s2_covered_by | S2 Geography Predicates
s2_covered_by_matrix | Matrix Functions
s2_covers | S2 Geography Predicates
s2_covers_matrix | Matrix Functions
s2_data_cities | Low-resolution world boundaries, timezones, and cities
s2_data_countries | Low-resolution world boundaries, timezones, and cities
s2_data_tbl_cities | Low-resolution world boundaries, timezones, and cities
s2_data_tbl_countries | Low-resolution world boundaries, timezones, and cities
s2_data_tbl_timezones | Low-resolution world boundaries, timezones, and cities
s2_data_timezones | Low-resolution world boundaries, timezones, and cities
s2_difference | S2 Geography Transformations
s2_dimension | S2 Geography Accessors
s2_disjoint | S2 Geography Predicates
s2_disjoint_matrix | Matrix Functions
s2_distance | S2 Geography Accessors
s2_distance_matrix | Matrix Functions
s2_dwithin | S2 Geography Predicates
s2_dwithin_matrix | Matrix Functions
s2_earth_radius_meters | Earth Constants
s2_equals | S2 Geography Predicates
s2_equals_matrix | Matrix Functions
s2_farthest_feature | Matrix Functions
s2_geography | Create an S2 Geography Vector
s2_geog_from_text | Create and Format Geography Vectors
s2_geog_from_wkb | Create and Format Geography Vectors
s2_geog_point | Create and Format Geography Vectors
s2_interpolate | Linear referencing
s2_interpolate_normalized | Linear referencing
s2_intersection | S2 Geography Transformations
s2_intersects | S2 Geography Predicates
s2_intersects_box | S2 Geography Predicates
s2_intersects_matrix | Matrix Functions
s2_is_collection | S2 Geography Accessors
s2_is_empty | S2 Geography Accessors
s2_is_valid | S2 Geography Accessors
s2_is_valid_detail | S2 Geography Accessors
s2_length | S2 Geography Accessors
s2_lnglat | Create an S2 LngLat Vector
s2_make_line | Create and Format Geography Vectors
s2_make_polygon | Create and Format Geography Vectors
s2_max_distance | S2 Geography Accessors
s2_max_distance_matrix | Matrix Functions
s2_may_intersect_matrix | Matrix Functions
s2_minimum_clearance_line_between | S2 Geography Transformations
s2_num_points | S2 Geography Accessors
s2_options | Geography Operation Options
s2_perimeter | S2 Geography Accessors
s2_point | Create an S2 Point Vector
s2_project | Linear referencing
s2_projection_filter | Low-level wk filters and handlers
s2_projection_mercator | Low-level wk filters and handlers
s2_projection_plate_carree | Low-level wk filters and handlers
s2_project_normalized | Linear referencing
s2_rebuild | S2 Geography Transformations
s2_rebuild_agg | S2 Geography Transformations
s2_simplify | S2 Geography Transformations
s2_snap_distance | Geography Operation Options
s2_snap_identity | Geography Operation Options
s2_snap_level | Geography Operation Options
s2_snap_precision | Geography Operation Options
s2_snap_to_grid | S2 Geography Transformations
s2_sym_difference | S2 Geography Transformations
s2_touches | S2 Geography Predicates
s2_touches_matrix | Matrix Functions
s2_union | S2 Geography Transformations
s2_union_agg | S2 Geography Transformations
s2_unprojection_filter | Low-level wk filters and handlers
s2_within | S2 Geography Predicates
s2_within_matrix | Matrix Functions
s2_x | S2 Geography Accessors
s2_y | S2 Geography Accessors