Load the vector object of the Sentinel-2 tiles.

s2_tiles()

Value

An sf spatial object containing the extent of the tiles.

Note

License: GPL 3.0

Examples

# Retrieve all the tiles s2tiles <- s2_tiles() # Show a subset of all the tiles s2tiles_it <- s2tiles[grep("^3[23]T", s2tiles$tile_id),] s2_coords <- sf::st_coordinates(suppressWarnings(sf::st_centroid(s2tiles_it))) plot(s2tiles_it$geometry)
text(s2_coords[,1], s2_coords[,2], s2tiles_it$tile_id, cex=0.5)