Nothing
test_that("append_height", {
fortaleza <- system.file("extdata/fortaleza.zip", package="gtfs2gps")
srtmfile <- system.file("extdata/fortaleza-srtm.tif", package="gtfs2gps")
gtfs <- read_gtfs(fortaleza) %>%
gtfstools::filter_by_shape_id("shape804-I") %>%
filter_single_trip() %>%
remove_invalid()
fortaleza_gps <- gtfs2gps(gtfs, spatial_resolution = 500) %>% append_height(srtmfile)
mysum <- sum(fortaleza_gps$height)
expect_equal(mysum, 3314, 0.05)
#fort <- fortaleza_gps[which(is.na(fortaleza_gps$height)),]
#fott <- gps_as_sf(fort)
#sf::write_sf(fott, "fort-na.shp")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.