Learn R Programming

rgugik (version 0.4.1)

ortho_request: Get metadata and links to available orthoimages

Description

Get metadata and links to available orthoimages

Usage

ortho_request(x)

orto_request(x)

Value

a data frame with metadata and links to the orthoimages

Arguments

x

an sf, sfc or SpatVector object with one or more features (requests are based on the bounding boxes of the provided features)

Details

The server can return a maximum of 1000 records in a single query. If your area of interest exceeds this limit, you can generate a grid of smaller polygons (sf::st_make_grid()) or a regular grid of points (sf::st_sample()).

See Also

tile_download()

Examples

Run this code
if (FALSE) {
library(sf)
polygon_path = system.file("datasets/search_area.gpkg", package = "rgugik")
polygon = read_sf(polygon_path)
req_df = ortho_request(polygon)

# simple filtering by attributes
req_df = req_df[req_df$composition == "CIR", ]
req_df = req_df[req_df$resolution <= 0.25 & req_df$year >= 2016, ]
}

Run the code above in your browser using DataLab