All functions

compact()

Compact a set of hexagons of the same resolution into a set of hexagons across multiple levels.

edge_boundary_to_sf()

Parse edge coordiantes to sf object

edge_length()

Average hexagon edge length in meters or kilometers at the given resolution.

geo_boundary_to_sf()

Parse geo-boundaries to sf object.

geo_to_h3()

Index geo-coordinates at the given resolution into H3 addresses.

geo_to_sf()

Parse centers / geo-coordinates to sf object.

get_destination_h3_index_from_unidirectional_edge()

Get the destination hexagon from the unidirectional H3 edge index.

get_h3_unidirectional_edge()

Get the H3 edge index based on the given origin and destination hexagons.

get_h3_unidirectional_edge_boundary()

Get the coordinates defining the unidirectional edge.

get_h3_unidirectional_edge_boundary_sf()

Get the unidirectional edge as sf object.

get_h3_unidirectional_edges_from_hexagon()

Get all of the unidirectional edges from the given H3 index.

get_origin_h3_index_from_unidirectional_edge()

Get the origin hexagon from the unidirectional H3 edge index.

h3_distance()

Get the grid distance between H3 addresses.

h3_get_base_cell()

Get the base cells of the given H3 indexes.

h3_get_resolution()

Get the resolution of the given H3 indexes.

h3_indexes_are_neighbors()

Check whether the given hexagons are neighbors.

h3_is_pentagon()

Check whether the given H3 indexes are pentagons.

h3_is_res_class_iii()

Check whether the given H3 indexes have a resolution with Class III orientation.

h3_is_valid()

Check whether the given H3 indexes are valid.

h3_line()

Get the line of indexes between the given start and end indexes (inclusive).

h3_set_to_multi_polygon()

Create a (multi) polygon describing the outline(s) of a set of hexagons.

h3_to_children()

Get the children of the given hexagon at a particular resolution.

h3_to_geo()

Get the centers of the given H3 indexes.

h3_to_geo_boundary()

Get the vertices of the given H3 indexes.

h3_to_geo_boundary_sf()

Get the polygons of the given H3 indexes as sf object.

h3_to_geo_sf()

Get the centers of the given H3 indexes as sf object.

h3_to_parent()

Get the parent of the given hexagon at a particular resolution.

h3_unidirectional_edge_is_valid()

Check whether the given indexes are valid H3 edge indexes.

hex_area()

Average hexagon area in square meters or kilometers at the given resolution.

hex_ring()

Get the hollow hexagonal ring centered at the given origin.

k_ring()

Get all hexagons in a k-ring around the given center.

k_ring_distances()

Get all hexagons in a k-ring around a given center ordered by distance from the origin.

num_hexagons()

Number of unique H3 indexes at the given resolution.

polyfill()

Get all hexagons with centers contained in a given polygon.

road_safety_greater_manchester

road safety greater manchester