This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Libraries =================== | |
| library("raster") | |
| library("rgdal") | |
| # Load data =================== | |
| # all_files <- list.files(path = "./data", pattern='.tif$', all.files=TRUE, full.names=FALSE) | |
| # Process data ================ | |
| raster_data <- raster("./data/LC08_L1TP_196025_20150821_20170406_01_T1_°C_corr.tif") | |
| shape_data <- readOGR("./data", layer = "Cologne", stringsAsFactors = FALSE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export function App(props) { | |
| const [view, setView] = React.useState("homepage") | |
| if (view == "homepage") { | |
| return ( | |
| <div> | |
| <HomepageContent width={"100%"} height={720} top={92} /> | |
| <Header state={"login"} setView={setView} /> | |
| <Menu state={"closed"} setView={setView} view={view} /> | |
| </div> |