Learn R Programming

h3r (version 0.1.2)

vertexToLatLng: Vertex To Lat Lng

Description

Returns the latitude and longitude of the given vertex

Usage

vertexToLatLng(vertex)

Value

data.frame of the lat/lng coordinates of the input vertex

Arguments

vertex

H3 Vertex index

Examples

Run this code

vertices <- cellToVertex(
  cell = c(rep("8cbe63562a54bff", 6))
  , vertexNum = c(0L:5L)
  )

vertexToLatLng(vertex = vertices)


Run the code above in your browser using DataLab