Learn R Programming

⚠️There's a newer version (0.5.5) of this package.Take me there.

quadmesh

A quadmesh is a dense mesh describing a topologically continuous surface of 4-corner primitives. This is also known as a cell-based raster but in those contexts the corner coordinates and the continuous nature of the mesh is completely implicit. By making the dense mesh explicit we have access to every corner coordinate (not just the centres) which allows for some extra facilities over raster grids.

This package provides helpers for working with this mesh interpretation of gridded data to enable

  • arbitrary reprojection of raster cells without information loss (mesh_plot).
  • the corner-based interpretation of a grid (quadmesh()).
  • easy plotting of grids in 3D visualization tools (quad primitives in rgl mesh3d).
  • fast polygonization of individual cells, in spex::polygonize.

You can install:

  • the latest released version from CRAN with
install.packages("quadmesh")
  • the latest development version from Github with
devtools::install_github("mdsumner/quadmesh")

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Copy Link

Version

Install

install.packages('quadmesh')

Monthly Downloads

228

Version

0.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michael D. Sumner

Last Published

November 13th, 2018

Functions in quadmesh (0.2.0)

llh2xyz

Angular coordinates to X, Y, Z.
etopo

World topography map
quadmesh

Create a quad-type mesh for use in rgl.
xymap

World map
worldll

World raster map
triangulate_quads

Triangles from quads
mesh_plot

Plot as a mesh
quadmesh-package

quadmesh: Quadrangle Mesh