Closed miriam-geoambiente closed 6 years ago
import("publish") local gis = getPackage("gis") local file = File("temporal.tview") file:deleteIfExists() local temporalDir = Directory("temporal-test") if temporalDir:exists() then temporalDir:delete() end local proj = gis.Project{ title = "Testing temporal View", author = "Carneiro, H.", file = file, clean = true, uc_2001 = filePath("uc_federais_2001.shp", "publish"), uc_2009 = filePath("uc_federais_2009.shp", "publish"), uc_2016 = filePath("uc_federais_2016.shp", "publish") } local app = Application{ key = "<USER_KEY>", -- if testing in a server base = "roadmap", project = proj, output = temporalDir, clean = true, simplify = false, uc = View { title = "UC", description = "UC Federais.", select = "anoCriacao", color = "Spectral", slices = 10, time = "snapshot" } } print(vardump(app)) file:deleteIfExists()
TODO
Example