Learn R Programming

GADMTools (version 3.9-1)

gadm_getBbox: get the bounding box of the map

Description

get the bounding box of the map

Usage

gadm_getBbox(x)

Arguments

x

Object of class gadm_sf or gadm_sp

Value

vector of numeric values of:

  • xmin minimum longitude

  • ymin minimum latitude

  • xmax maximum longitude

  • ymax maximum latitude

See Also

gadm_crop

Examples

Run this code
# NOT RUN {
library(GADMTools)
data("Corsica")

gadm_getBbox(Corsica)

# }

Run the code above in your browser using DataLab