I'm looking to use
rbind to combine the SPDFs of different European countries. However, I'm looking to use SPDFs of different levels of regions. Unfortunately, I'm getting the following error:
library(sp) library(raster) France_map <- getData(name = "GADM", country = "FRA", level = 0) Germany_map <- getData(name = "GADM", country = "DEU", level = 1) Belgium_map <- getData(name = "GADM", country = "BEL", level = 2) test <- rbind(France_map, Germany_map, Belgium_map, makeUniqueIDs = TRUE) Error in rbind(deparse.level, ...) : numbers of columns of arguments do not match
How do I need to treat the individual SPDFs so that they can be bound together?