quadbounds

Dtiles, zoomL = quadbounds(quadtree; geog=true, quadkey=['0' '1'; '2' '3'])

Compute the coordinates of the quadtree quadtree. Either a single quadtree string or an array of quadtree strings.

Returns

  • Dtiles: A GMTdataset vector with the corner coordinates of each tile.
  • zoomL: Zoom level of the tiles.

Example

  quadtree = mosaic([-10. -8],[37. 39.], zoom=8, quadonly=1)[1];
  D = quadbounds(quadtree)[1];
  viz(D)

Methods

# 2 methods for generic function "quadbounds" from GMT:
 [1] quadbounds(quadtree::Matrix{String}; geog, quadkey)
 [2] quadbounds(quadtree::String; geog, quadkey)

See Also