An Introduction to BelgiumMaps.OpenStreetMap package

library(knitr)
opts_chunk$set(out.extra='style="display:block; margin: auto"', fig.align="center")

Introduction

The BelgiumMaps.OpenStreetMap package contains geospatial data of Belgium regarding the following topics Landuse Points of interest Railways Roads Waterways Places

data(BE_OSM_PLACES)
data(BE_OSM_POINTS)
data(BE_OSM_RAILWAYS)
data(BE_OSM_ROADS)
data(BE_OSM_WATERWAYS)
data(BE_OSM_LANDUSE)

str(as.data.frame(BE_OSM_ROADS))
str(as.data.frame(BE_OSM_LANDUSE))

## Plot
plot(BE_OSM_RAILWAYS)
plot(BE_OSM_WATERWAYS)

plot(subset(BE_OSM_ROADS, type %in% c("motorway", "primary")))
plot(subset(BE_OSM_LANDUSE, type == "industrial"))
lines(subset(BE_OSM_WATERWAYS, type %in% c("canal")), col = "blue")
plot(subset(BE_OSM_LANDUSE, type == "farmland"), col = "lightgreen")


weRbelgium/BelgiumMaps.OpenStreetMap documentation built on May 4, 2019, 2:04 a.m.