Package 'quad'

Title: Intermediate Forms of Raster Grids
Description: Raster grids and quads as first class types with helpers. Provides a low level API for generating mesh index and vertices from the simplest abstraction of raster grid, input dimension and (optionally) extent to generate components of meshes for downstream visualization and efficient coordinate transformation. API functions may be 'Linked To' in the R headers library way.
Authors: Michael D. Sumner [aut, cre]
Maintainer: Michael D. Sumner <[email protected]>
License: MIT + file LICENSE
Version: 0.0.1
Built: 2024-12-05 03:41:30 UTC
Source: https://github.com/hypertidy/quad

Help Index


Elevation data

Description

An elevation data set of the world.

Details

A matrix of 360x180 with elevation values for the world on the extent 'c(xmin = -180, xmax = 180, ymin = -90, ymax = 90)'. The data is in "raster-order", i.e. the order used by [rasterImage()]. See the [ximage package](https://github.com/hypertidy/ximage) for convenient visualization.

Data obtained from GEBCO 2021, see the 'data-raw/' folder for details.


Title

Description

Title

Usage

quad_index(dimension, ydown = TRUE)

Arguments

dimension
ydown

Title

Description

Title

Usage

quad_vert(dimension, ydown = TRUE, zh = FALSE)

Arguments

dimension
ydown
zh