Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Plot Open Street Map and Other Tiles in R

NotificationsYou must be signed in to change notification settings

paleolimbot/rosm

Repository files navigation

Codecov test coverage

Download and plotOpen Street Map,Bing Maps, and other tiled map sources. Aprevious version of this package provided an API for plotting base maps;the new API is more low-level and covers tile math, URL generation, andfetching tiles in parallel.

Installation

Therosm package isavailable onCRAN, and can be installedusinginstall.packages("rosm").

Example

library(rosm)bounds<-wk::rct(-7476083,5349058,-6594103,6243203,crs= osm_crs_native())(grd<- osm_raster(bounds, osm_url_spec_example()))#> <wk_grd_rct [768 x 768] => [-7514066 5322463 -6574807 6261721] with crs=EPSG:3857>#> List of 2#>  $ data: 'nativeRaster' int [1:768, 1:768] -2108502 -2108502 -2108502 -2108502 -2108502 -2108502 -2108502 -2108502 -2108502 -2108502 ...#>  $ bbox: wk_rct[1:1] [-7514066 5322463 -6574807 6261721]#>  - attr(*, "class")= chr [1:2] "wk_grd_rct" "wk_grd"plot(grd)

About

Plot Open Street Map and Other Tiles in R

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp