Package index
-
s2_lnglat()
as_s2_lnglat()
- Create an S2 LngLat Vector
-
s2_point()
s2_point_crs()
as_s2_point()
- Create an S2 Point Vector
-
as_s2_geography()
s2_geography()
as_wkb(<s2_geography>)
as_wkt(<s2_geography>)
- Create an S2 Geography Vector
-
s2_geog_point()
s2_make_line()
s2_make_polygon()
s2_geog_from_text()
s2_geog_from_wkb()
s2_as_text()
s2_as_binary()
s2_tessellate_tol_default()
- Create and Format Geography Vectors
-
s2_boundary()
s2_centroid()
s2_closest_point()
s2_minimum_clearance_line_between()
s2_difference()
s2_sym_difference()
s2_intersection()
s2_union()
s2_snap_to_grid()
s2_simplify()
s2_rebuild()
s2_buffer_cells()
s2_convex_hull()
s2_centroid_agg()
s2_coverage_union_agg()
s2_rebuild_agg()
s2_union_agg()
s2_convex_hull_agg()
s2_point_on_surface()
- S2 Geography Transformations
Binary Geography Predicates
Functions that operate two geography vectors and return a logical vector
Geography Accessors
Functions that operate one or more geography vectors and return a vector of values
-
s2_is_collection()
s2_is_valid()
s2_is_valid_detail()
s2_dimension()
s2_num_points()
s2_is_empty()
s2_area()
s2_length()
s2_perimeter()
s2_x()
s2_y()
s2_distance()
s2_max_distance()
- S2 Geography Accessors
-
s2_bounds_cap()
s2_bounds_rect()
- Compute feature-wise and aggregate bounds
-
s2_closest_feature()
s2_closest_edges()
s2_farthest_feature()
s2_distance_matrix()
s2_max_distance_matrix()
s2_contains_matrix()
s2_within_matrix()
s2_covers_matrix()
s2_covered_by_matrix()
s2_intersects_matrix()
s2_disjoint_matrix()
s2_equals_matrix()
s2_touches_matrix()
s2_dwithin_matrix()
s2_may_intersect_matrix()
- Matrix Functions
-
s2_project()
s2_project_normalized()
s2_interpolate()
s2_interpolate_normalized()
- Linear referencing
-
s2_cell_union()
as_s2_geography(<s2_cell_union>)
as_s2_cell_union()
- Create S2 Cell Union vectors
-
s2_cell_union_normalize()
s2_cell_union_contains()
s2_cell_union_intersects()
s2_cell_union_intersection()
s2_cell_union_union()
s2_cell_union_difference()
s2_covering_cell_ids()
s2_covering_cell_ids_agg()
- S2 cell union operators
-
s2_cell()
s2_cell_sentinel()
s2_cell_invalid()
as_s2_cell()
new_s2_cell()
- Create S2 Cell vectors
-
s2_cell_is_valid()
s2_cell_debug_string()
s2_cell_to_lnglat()
s2_cell_center()
s2_cell_boundary()
s2_cell_polygon()
s2_cell_vertex()
s2_cell_level()
s2_cell_is_leaf()
s2_cell_is_face()
s2_cell_area()
s2_cell_area_approx()
s2_cell_parent()
s2_cell_child()
s2_cell_edge_neighbour()
s2_cell_contains()
s2_cell_distance()
s2_cell_max_distance()
s2_cell_may_intersect()
s2_cell_common_ancestor_level()
s2_cell_common_ancestor_level_agg()
- S2 cell operators
-
s2_earth_radius_meters()
- Earth Constants
-
s2_options()
s2_snap_identity()
s2_snap_level()
s2_snap_precision()
s2_snap_distance()
- Geography Operation Options
-
s2_plot()
- Plot S2 Geographies
-
s2_data_example_wkt
- Example Geometries
-
s2_data_tbl_countries
s2_data_tbl_timezones
s2_data_tbl_cities
s2_data_countries()
s2_data_timezones()
s2_data_cities()
- Low-resolution world boundaries, timezones, and cities