You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Until version 4.3, it was only possible to visualize spatial data stored in memory with `tmap`, e.g. objects from the class packages `sf`, `terra`, or `stars`. This package, `tmap.sources` makes it possible to visualize remote spatial data. Currently only `PMTiles`, a remote tile-based data sources are supported, but support for other remote data sources will be added later.
43
+
44
+
To run `tmap.sources`, besides `tmap`, another package is required, namely [`tmap.mapgl`](https://r-tmap.github.io/tmap.mapgl/articles/mapgl), because we require the tmap mode `"maplibre"`:
45
+
46
+
47
+
```{r}
39
48
library(tmap)
40
49
library(tmap.mapgl)
41
50
library(tmap.sources)
51
+
tmap_mode("maplibre")
42
52
```
43
53
54
+
## Remote PMTiles file
44
55
45
-
## Mode maplibre
46
-
47
-
Currently, the only mode that supports pmtiles is `maplibre`:
56
+
OvertureMaps contain a few very large PMTiles. The following is one with the [buildings](https://docs.overturemaps.org/guides/buildings/), across the World.
0 commit comments