powered by
Projects geographic coordinates onto the icosahedron, returning face index and planar coordinates (tx, ty).
hexify_forward(lon, lat)
Named numeric vector: c(face, tx, ty)
Longitude in degrees
Latitude in degrees
tx and ty are normalized coordinates within the triangular face, typically in range [0, 1].
Other projection: hexify_build_icosa(), hexify_face_centers(), hexify_forward_to_face(), hexify_get_precision(), hexify_inverse(), hexify_projection_stats(), hexify_set_precision(), hexify_set_verbose(), hexify_which_face()
hexify_build_icosa()
hexify_face_centers()
hexify_forward_to_face()
hexify_get_precision()
hexify_inverse()
hexify_projection_stats()
hexify_set_precision()
hexify_set_verbose()
hexify_which_face()
result <- hexify_forward(16.37, 48.21) # result["face"], result["icosa_triangle_x"], result["icosa_triangle_y"]
Run the code above in your browser using DataLab