/mvtview

a Mapbox vector tile server and viewer for R

Primary LanguageROtherNOASSERTION

mvtview

Provides a development Mapbox Vector Tile server and viewer for R, powered by {plumber} and {rdeck}.

Installation

You can install the development version of {mvtview} from GitHub with:

# install.packages("devtools")
devtools::install_github("MilesMcBain/mvtview")

Usage

Serving an .mbtiles file for map making:

library(mvtview)

serve_mvt("my_tiles.mbtiles")

Or alternatively, serving and then viewing tile data in an .mbtiles database on an interactive map:

view_mvt("my_tiles.mbtiles)

Clean up running servers:

clean_mvt()

Prior art

  • mbview a NodeJS vector tile viewer by Mapbox

Vector tile stuff