Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/curycu/geodrawr
An interactive tool for making geospatial objects by clicks on the map
https://github.com/curycu/geodrawr
geospatial leaflet r sf shiny
Last synced: 2 months ago
JSON representation
An interactive tool for making geospatial objects by clicks on the map
- Host: GitHub
- URL: https://github.com/curycu/geodrawr
- Owner: Curycu
- License: gpl-3.0
- Created: 2020-05-18T19:23:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-21T09:40:15.000Z (over 3 years ago)
- Last Synced: 2024-10-15T22:33:47.185Z (3 months ago)
- Topics: geospatial, leaflet, r, sf, shiny
- Language: R
- Homepage:
- Size: 3.07 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE.md
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# geodrawr
[![CRAN](https://www.r-pkg.org/badges/version/geodrawr)](https://cran.r-project.org/package=geodrawr)
[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/geodrawr)](https://www.r-pkg.org/pkg/geodrawr)An interactive tool for making geo-spatial objects by clicks on the map
## Installation
To install the stable version from CRAN, simply run the following from an R console:
```{r, eval = FALSE}
install.packages('geodrawr')
```To install the latest development builds directly from GitHub, run this instead:
```{r, eval = FALSE}
if (!require('devtools')) install.packages('devtools')
devtools::install_github('Curycu/geodrawr')
```## How to Use?
There are three draw tools :
```{r, eval = FALSE}
library(geodrawr)draw_polygons()
draw_lines()
draw_points()
```#### case polygons
![draw_polygons](draw_polygons.gif)- click the map to make edges
- push **Make** button to make a polygon from the edges
- push **Save** button to save polygons as rds file
- push **Load** button to load polygons from rds file#### case lines
![draw_lines](draw_lines.gif)- click the map to make edges
- push **Make** button to make a line from the edges
- push **Save** button to save lines as rds file
- push **Load** button to load lines from rds file
#### case points
![draw_points](draw_points.gif)- click the map to make a point
- push **Save** button to save points on the map as a rds file
- push **Load** button to load points from rds file