merge_vpcs() reads one or more .vpc files, merges their features,
and removes duplicate tiles (based on storage location). Optionally, the merged
VPC can be written to a file.
Value
A list representing the merged VPC (STAC FeatureCollection).
Invisibly returns the merged VPC. If out_file is provided, the file
is written as a valid .vpc JSON.
Examples
# Merge two VPC files
merged <- merge_vpcs(c("vpc1.vpc", "vpc2.vpc"))
#> Error in FUN(X[[i]], ...): VPC file not found: vpc1.vpc