Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r-spatial/mapedit
Interactive editing of spatial data in R
https://github.com/r-spatial/mapedit
Last synced: 2 months ago
JSON representation
Interactive editing of spatial data in R
- Host: GitHub
- URL: https://github.com/r-spatial/mapedit
- Owner: r-spatial
- License: other
- Created: 2017-01-19T19:14:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T20:23:24.000Z (over 1 year ago)
- Last Synced: 2024-07-28T10:49:56.091Z (6 months ago)
- Language: R
- Homepage: https://www.r-spatial.org/r/2019/03/31/mapedit_leafpm.html
- Size: 926 KB
- Stars: 218
- Watchers: 26
- Forks: 33
- Open Issues: 42
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- awesome-leaflet - mapedit: Interactive editing of spatial data in R
- awesome-shiny-extensions - mapedit - Interactive editing of spatial data. (Visualization / Maps and Spatial Data)
- jimsghstars - r-spatial/mapedit - Interactive editing of spatial data in R (R)
README
---
output: github_document
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```# mapedit
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/mapedit)](https://cran.r-project.org/package=mapedit)
[![monthly](http://cranlogs.r-pkg.org/badges/mapedit)](https://www.rpackages.io/package/mapedit)
[![total](http://cranlogs.r-pkg.org/badges/grand-total/mapedit)](https://www.rpackages.io/package/mapedit)Interactive editing of spatial data in R | an [RConsortium](https://www.r-consortium.org/) funded [project](https://www.r-consortium.org/projects/awarded-projects). For additional detail, please see the original [proposal](https://github.com/environmentalinformatics-marburg/mapview_toolchain/blob/master/mapview_interactive_data_manipulation.Rmd).
### 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](http://r-spatial.org/r/2017/01/30/mapedit_intro.html) January 30, 2017
[mapedit updates in 0.2.0](http://r-spatial.org/r/2017/06/09/mapedit_0-2-0.html) June 12, 2017
[mapedit 0.5.0 and Leaflet.pm](https://www.r-spatial.org/r/2019/03/31/mapedit_leafpm.html) March 31, 2019
### Talks
[Tim Appelhans at useR 2017](https://channel9.msdn.com/events/useR-international-R-User-conferences/useR-International-R-User-2017-Conference/mapedit-interactive-manipulation-of-spatial-objects?term=tim%20appelhans) 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](https://github.com/r-spatial/mapedit/blob/master/CONDUCT.md). By participating in this project you agree to abide by its terms.
### Acknowledgment
This project has been realized with financial [support](https://www.r-consortium.org/projects) from the