get_h3_unidirectional_edge_boundary: Get the vertices of a given edge as an array of [lat, lng]...

Description Usage Arguments Value Note

View source: R/h3_edges.R

Description

Get the vertices of a given edge as an array of [lat, lng] points

Usage

1
2
get_h3_unidirectional_edge_boundary(h3_edge_index,
  format_as_geojson = TRUE)

Arguments

h3_edge_index

character vector representing H3 edge indexes

format_as_geojson

whether to return [lng, lat] points instead of of [lat, lng]

Value

numeric matrix (2x2); list of matrices if multiple indexes are supplied

Note

Edges that cross the edge of an icosahedron face may return 3 coordinates.


crazycapivara/h3forr documentation built on Dec. 6, 2020, 5:21 a.m.