(function() { dba = XDatabase.file("../X-Resources/none") dbb = XDatabase.file("../X-Resources/test") ans = XMergeDatabases(dbb,dba) dba = ans # dbb = ans[[2]] # Dump.database(dbb,"test.new") # write the database to the file none.new Dump.database(dba,"none.new") # get a resource from the merged database print(getResource(dba,"geometry")) invisible(return(X)) })()