Leaflet and R with arctic projection

I would like to use the R package of flyers outside of WGS84 on the web page arcitc-sdi map tile .

I think this may not be possible, but I would like to receive the final source. It seems like there are plugins for creating polar projections from the flyer (but maybe not with the package of the R booklet).

I can download http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts "as wms in QGIS, but I cannot work with booklets in R.

library(leaflet);leaflet() %>% addWMSTiles("http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts")

Edit: I found a similar service with a tile service like osm.

http: // {s} .tiles.arcticconnect.org / osm_ {projection} / {z} / {x} / {y} .png

+4
source share
1 answer

It should work using the mapview version .

    library("devtools")
    install_github("environmentalinformatics-marburg/mapview", ref = "develop")

You must first determine the parameters of your online service. It is more ores less difficult. You will find explanations in the projView vignette .

In your case, you can simply use the predefined CAFF list from the examples section projView, because it will use the sea temperature CAFF and the surface temperature of the earth.

You can use this list as a drawing for further improvements.

Then you can load an arbitrary object sp*that you want to display. You can also use the sample data set that contains the roads of Greenland.

    library(mapview)
    library(raster)
    load("roadsGRL")
    data("map.types")

    ### map the CAFF data
    mapview::projView(roadsGRL, map.types = map.types$CAFF)

screenshot mapview :: projView CAFF maps

map.types$AC.

+5

Source: https://habr.com/ru/post/1629282/


All Articles