{"id":13572743,"url":"https://github.com/r-spatial/mapview","last_synced_at":"2025-04-04T11:30:38.148Z","repository":{"id":36784719,"uuid":"41091477","full_name":"r-spatial/mapview","owner":"r-spatial","description":"Interactive viewing of spatial data in R","archived":false,"fork":false,"pushed_at":"2025-03-18T17:43:48.000Z","size":498530,"stargazers_count":525,"open_issues_count":96,"forks_count":90,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-03-31T15:24:54.265Z","etag":null,"topics":["gis","leaflet","maps","r","spatial","visualization","web-mapping"],"latest_commit_sha":null,"homepage":"https://r-spatial.github.io/mapview/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r-spatial.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-20T11:07:22.000Z","updated_at":"2025-03-22T08:14:42.000Z","dependencies_parsed_at":"2024-01-10T09:44:46.754Z","dependency_job_id":"be565b77-a874-4fb3-a1ee-fd659a4c4bf9","html_url":"https://github.com/r-spatial/mapview","commit_stats":{"total_commits":1696,"total_committers":31,"mean_commits":54.70967741935484,"dds":"0.23702830188679247","last_synced_commit":"4202de2257214bd3c22b68fa8790e9596736fe83"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-spatial%2Fmapview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-spatial%2Fmapview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-spatial%2Fmapview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-spatial%2Fmapview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-spatial","download_url":"https://codeload.github.com/r-spatial/mapview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247169844,"owners_count":20895360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gis","leaflet","maps","r","spatial","visualization","web-mapping"],"created_at":"2024-08-01T15:00:18.799Z","updated_at":"2025-04-04T11:30:33.141Z","avatar_url":"https://github.com/r-spatial.png","language":"JavaScript","readme":"---\noutput: github_document\n---\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  eval = FALSE,\n  comment = \"#\u003e\",\n  out.width = \"100%\"\n)\n```\n\n# mapview\n\n \u003c!-- badges: start --\u003e\n[![tic](https://github.com/r-spatial/mapview/workflows/tic/badge.svg?branch=master)](https://github.com/r-spatial/mapview/actions)\n[![cran checks](https://badges.cranchecks.info/worst/mapview.svg)](https://cran.r-project.org/web/checks/check_results_mapview.html)\n![monthly](https://cranlogs.r-pkg.org/badges/mapview)\n![total](https://cranlogs.r-pkg.org/badges/grand-total/mapview)\n[![CRAN](https://www.r-pkg.org/badges/version/mapview?color=009999)](https://cran.r-project.org/package=mapview)\n[![License](https://img.shields.io/badge/license-GPL%20%28%3E=%203%29-lightgrey.svg?style=flat)](https://www.gnu.org/licenses/gpl-3.0.html)\n[![Coverage Status](https://img.shields.io/codecov/c/github/r-spatial/mapview/develop.svg)](https://app.codecov.io/github/r-spatial/mapview)\n[![status](https://tinyverse.netlify.com/badge/mapview)](https://CRAN.R-project.org/package=mapview)\n  \u003c!-- badges: end --\u003e\n\n### Interactive viewing of spatial data in R\n\n\u003ca href=\"https://github.com/tim-salabim/mvl\"\u003e\u003cimg align=\"right\" src=\"https://github.com/tim-salabim/mvl/blob/cstriestohelp/imagery/animated/box_anim.gif?raw=true\" /\u003e\u003c/a\u003e\n\n**mapview** provides functions to very quickly and conveniently create interactive visualisations of spatial data. It's main goal is to fill the gap of quick (not presentation grade) interactive plotting to examine and visually investigate both aspects of spatial data, the geometries and their attributes. It can also be considered a data-driven API for the [**leaflet**](https://cran.r-project.org/package=leaflet) package as it will automatically render correct map types, depending on the type of the data (points, lines, polygons, raster). In addition, it makes use of some advanced rendering functionality that will enable viewing of much larger data than is possible with **leaflet**. Furthermore, if you're a fan of [**mapdeck**](https://cran.r-project.org/package=mapdeck) (which you should!), you can choose to use it as the rendering platform instead of **leaflet** by setting `mapviewOptions(platform = \"mapdeck\")`.\n\nThe main user relevant functions are:\n\n* `mapview` - view (multiple) spatial objects on a set of background maps\n* `viewExtent` - view extent / bounding box of spatial objects\n* `viewRGB` - view RGB true- or false-color images of raster objects\n* `mapshot` - easily save maps (including leaflet maps) as `html` and/or `png` \n(or other image formats)\n\nFunctions that have been deprecated/deleted recently:\n\n* `addHomeButton`  - deprecated, use package [leafem](https://CRAN.R-project.org/package=leafem) instead.\n* `addLogo`  - deprecated, use package [leafem](https://CRAN.R-project.org/package=leafem) instead.\n* `addFeatures`  - deprecated, use package [leafem](https://CRAN.R-project.org/package=leafem) instead.\n* `addMouseCoordinates`  - deprecated, use package [leafem](https://CRAN.R-project.org/package=leafem) instead.\n* `addExtent`  - deprecated, use package [leafem](https://CRAN.R-project.org/package=leafem) instead.\n* `addImageQuery`  - deprecated, use package [leafem](https://CRAN.R-project.org/package=leafem) instead.\n* `latticeView` \u0026 `sync` - deprecated, use package [leafsync](https://CRAN.R-project.org/package=leafsync) instead.\n* `slideView` - deprecated, use package [slideview](https://CRAN.R-project.org/package=slideview) instead.\n* `cubeView` - deprecated, use package [cubeview](https://CRAN.R-project.org/package=cubeview) instead.\n* `plainview` - deprecated, use package [plainview](https://CRAN.R-project.org/package=plainview) instead.\n* `popupTable`, `popupGraph` \u0026 `popupImage` - deprecated, use package [leafpop](https://CRAN.R-project.org/package=leafpop) instead.\n* `addLargeFeatures` - use [leafgl](https://CRAN.R-project.org/package=leafgl)`::addGL*` functions instead.\n\nObjects of the following spatial classes are supported:\n\n* [sf](https://cran.r-project.org/package=sf)\n* [raster](https://cran.r-project.org/package=raster) (Layer, Stack, Brick and SpatialPixels* / SpatialGridDataFrame)\n* [stars](https://cran.r-project.org/package=stars)\n* [sp](https://cran.r-project.org/package=sp) (Points, Polygons, Lines and their DataFrame version)\n* [satellite](https://cran.r-project.org/package=satellite)\n\n\n## Installation\n\nFor CRAN release version of **mapview** use\n\n\n```{r, eval=FALSE}\ninstall.packages(\"mapview\")\n```\n\n\nTo install the development version you can install the [remotes](https://cran.r-project.org/package=remotes) package.\n\n**NOTE:** As of version 2.9.1 development will happen on the `master` branch. Please consider the `develop` branch obsolete.\n\n```{r, eval=FALSE}\nremotes::install_github(\"r-spatial/mapview\")\n```\n\n\n## Usage\n\nThe most basic call\n\n```{r, eval=FALSE}\nmapview(breweries)\n```\n\nwill produce a web map visualisation of the breweries data with the following components:\n\n![](man/figures/basic_small.png)\n\n## Contact\n\nPlease file bug reports and feature requests at https://github.com/r-spatial/mapview/issues\n","funding_links":[],"categories":["R","JavaScript","Visualization","Leaflet Functions"],"sub_categories":["Maps and Spatial Data","Map Preview"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-spatial%2Fmapview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-spatial%2Fmapview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-spatial%2Fmapview/lists"}