Add support for WMS layer in tm_raster
Open
Nobody has claimed this yet.
View-mode
- Dominant language
- R
- Stars
- 907
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to add a raster WMS layer as background for a map? I think this could be added to tm_rgb().
Similar to leaflet::addWMSTiles():
leaflet(map) %>%
addTiles() %>%
setView(lng = 8.21831, lat = 56.78995, zoom = 15) %>%
addWMSTiles(
map="WMS_URL",
layers = "layer name",
options = WMSTileOptions(format = "image/png", transparent = TRUE),
attribution = ""
)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the tm_raster and tm_rgb() entry points and compare the requested behavior with leaflet::addWMSTiles(). Determine how a raster WMS background should be exposed and what existing map-layer behavior it must preserve. Done means a WMS layer can be used as a map background with configuration comparable to the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100