https://github.com/milesmcbain/mvtview
a Mapbox vector tile server and viewer for R
https://github.com/milesmcbain/mvtview
mapbox-vector-tile vector-tiles
Last synced: 11 months ago
JSON representation
a Mapbox vector tile server and viewer for R
- Host: GitHub
- URL: https://github.com/milesmcbain/mvtview
- Owner: MilesMcBain
- License: other
- Created: 2022-03-15T11:49:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-08T12:04:33.000Z (about 4 years ago)
- Last Synced: 2025-07-07T02:06:50.604Z (11 months ago)
- Topics: mapbox-vector-tile, vector-tiles
- Language: R
- Homepage:
- Size: 26.4 KB
- Stars: 16
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("MilesMcBain/mvtview")
```
## Usage
Serving an .mbtiles file for map making:
```r
library(mvtview)
serve_mvt("my_tiles.mbtiles")
```
Or alternatively, serving and then viewing tile data in an .mbtiles database on an interactive map:
```r
view_mvt("my_tiles.mbtiles)
```
Clean up running servers:
```r
clean_mvt()
```
## Prior art
* [mbview](https://github.com/mapbox/mbview) a NodeJS vector tile viewer by Mapbox
## Vector tile stuff
* [Awesome vector tiles](https://github.com/mapbox/awesome-vector-tiles) vector tile generators, servers and more.