mapedit v0.6.0

0

Monthly downloads

0th

Percentile

Interactive Editing of Spatial Data in R

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

Readme

mapedit

CRAN\_Status\_Badge monthly total

Interactive editing of spatial data in R | an RConsortium funded project. For additional detail, please see the original proposal.

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@develop")

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

Functions in mapedit

Name Description
editModUI Shiny Module UI for Geo Create, Edit, Delete
selectMod Shiny Module Server for Geo Selection
selectModUI Shiny Module UI for Geo Selection
playback Playback a Recorded 'mapedit' Session on Leaflet Map
processOpts Prepare arguments for addDrawToolbar or addPmToolbar
selectMap Interactively Select Map Features
selectFeatures Interactively Select Map Features
merge_delete Merge 'sf' Deletes
mapedit-package mapedit: interactive editing and selection for geospatial data
merge_add Merge 'sf' Adds
merge_edit Merge 'sf' Edits
addToolbar Add a (possibly customized) toolbar to a leaflet map
editMod Shiny Module Server for Geo Create, Edit, Delete
drawFeatures Draw (simple) features on a map
editFeatures Interactively Edit Map Features
editMap Interactively Edit a Map
No Results!

Last month downloads

Details

Date 2020-02-01
URL https://github.com/r-spatial/mapedit
BugReports https://github.com/r-spatial/mapedit/issues
License MIT + file LICENSE
Encoding UTF-8
LazyData true
RoxygenNote 7.0.2
NeedsCompilation no
Packaged 2020-02-02 15:57:48 UTC; kentr
Repository CRAN
Date/Publication 2020-02-02 17:20:02 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/mapedit)](http://www.rdocumentation.org/packages/mapedit)