Skip to contents

A dataset representing road segments in Lisbon, with X, Y and Z (elevation) dimensions for each coordinate.

Usage

lisbon_road_network

Format

An object of class sf, key variables of which include

OBJECTID

ID of the object

Z_Min

The minimum elevation on the linear feature from ArcMAP

Z_Max

The max elevation on the linear feature from ArcMAP

Z_Mean

The mean elevation on the linear feature from ArcMAP

Slope_Min

The minimum slope on the linear feature from ArcMAP

Slope_Max

The max slope on the linear feature from ArcMAP

Slope_Mean

The mean slope on the linear feature from ArcMAP

geom

The geometry defining the LINESTRING component of the segment

Source

Produced by ESRI's 3D Analyst extension

Details

The dataset covers 32 km of roads in central Lisbon, overlapping with the area covered by the dem_lisbon_raster dataset.

Examples

library(sf)
names(lisbon_road_network)
#> [1] "OBJECTID"  "Z_Min"     "Z_Max"     "Z_Mean"    "Min_Slope" "Max_Slope"
#> [7] "Avg_Slope" "geom"     
sum(st_length(lisbon_road_network))
#> 32014.35 [m]
plot(lisbon_road_network["Avg_Slope"])