Interactive Editing of Spatial Data in R

Suite of interactive functions and helpers for selecting and editing geospatial data.


mapedit

R-CMD-check cranchecks monthly total CRAN

Status

mapedit is still in active development. We would very much appreciate feedback, ideas, and use cases. The API has stabilized, and wee will use semantic versioning with Github tagged releases to track changes and progress. All changes will also be documented in NEWS.md.

Blog Posts

Introduction to mapedit January 30, 2017

mapedit updates in 0.2.0 June 12, 2017

mapedit 0.5.0 and Leaflet.pm March 31, 2019

Talks

Tim Appelhans at useR 2017 July 2017

Install

As the CRAN badge above indicates, mapedit has achieved CRAN status. To install, please use install.packages, or for the cutting edge, use devtools::install_github.

install.packages("mapedit")
# cutting edge
# remotes::install_github("r-spatial/mapedit")

Examples

We can interactively CRD (create, update, delete) features on a map with editMap.

library(mapedit)
library(leaflet)
library(mapview)

editMap(leaflet() %>% addTiles())

editMap(
  mapview(breweries91),
  targetLayerId = "breweries91"
)

mapedit also offers interactive selection of map features with selectMap.

library(mapedit)
library(leaflet)
library(mapview)

selectMap(
  leaflet(breweries91) %>%
    addTiles() %>%
    addCircleMarkers(layerId = ~brewery)
)

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Acknowledgment

This project has been realized with financial support from the

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("mapedit")

0.8.0 by Tim Appelhans, 8 months ago


https://github.com/r-spatial/mapedit


Report a bug at https://github.com/r-spatial/mapedit/issues


Browse source code at https://github.com/cran/mapedit


Authors: Tim Appelhans [aut, cre] , Kenton Russell [aut] , Lorenzo Busetto [aut] , Josh O'Brien [ctb] , Jakob Gutschlhofer [ctb] , Matt Johnson [ctb] , Eli Pousson [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports assertthat, dplyr, DT, htmltools, htmlwidgets, jsonlite, leafem, leaflet, leafpm, leafpop, mapview, methods, miniUI, raster, rstudioapi, scales, sf, shiny, tmaptools, shinyWidgets, magrittr

Suggests crayon, sp

Enhances geojsonio


Imported by robis, tabs.

Suggested by basemaps, lidR, pliman.

Enhanced by leafpm.


See at CRAN