Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/65.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 从Web地图服务(WMS)读取信息_R_Leaflet_Wms - Fatal编程技术网

R 从Web地图服务(WMS)读取信息

R 从Web地图服务(WMS)读取信息,r,leaflet,wms,R,Leaflet,Wms,我想使用R请求Web地图服务(WMS),并获取特定坐标的存储信息。使用传单可以显示信息,但如果要处理信息,例如筛选某个位置的信息并将其另存为data.frame,您将如何继续 谢谢,, 奇斯托夫 library(leaflet) leaflet() %>% setView(10, 50, zoom = 5) %>% addTiles() %>% addWMSTiles("https://services.bgr.de/wms/boden/bu

我想使用R请求Web地图服务(WMS),并获取特定坐标的存储信息。使用传单可以显示信息,但如果要处理信息,例如筛选某个位置的信息并将其另存为data.frame,您将如何继续

谢谢,, 奇斯托夫

library(leaflet)

leaflet() %>%  
  setView(10, 50, zoom = 5) %>%
  addTiles() %>%
  addWMSTiles("https://services.bgr.de/wms/boden/buek1000de/?",
              layers = "0",
              options = WMSTileOptions(format="image/png", transparent=TRUE))

leaflet() %>%    
  setView(10, 50, zoom = 5) %>%
  addTiles() %>%
  addWMSTiles("https://via.bund.de/bmf/inspire/so/wms?service=wms", 
              layers = c("Grünland", "Ackerland", "base"),
              options = WMSTileOptions(format="image/png", transparent=TRUE))