Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r-spatial/plainview
View Raster Images Interactively on a Plain HTML Canvas
https://github.com/r-spatial/plainview
Last synced: about 1 month ago
JSON representation
View Raster Images Interactively on a Plain HTML Canvas
- Host: GitHub
- URL: https://github.com/r-spatial/plainview
- Owner: r-spatial
- License: other
- Created: 2019-03-08T19:51:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T07:02:29.000Z (over 1 year ago)
- Last Synced: 2024-05-08T18:54:43.987Z (7 months ago)
- Language: R
- Homepage: https://r-spatial.github.io/plainview/
- Size: 5.02 MB
- Stars: 13
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-leaflet - plainview: View Raster Images Interactively on a Plain HTML Canvas
README
---
output: github_document
---```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
eval = FALSE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# plainview - Interactively Explore (Raster)Images
[![R-CMD-check](https://github.com/r-spatial/plainview/workflows/R-CMD-check/badge.svg)](https://github.com/r-spatial/plainview/actions)
![monthly](http://cranlogs.r-pkg.org/badges/plainview)
![total](http://cranlogs.r-pkg.org/badges/grand-total/plainview)
[![CRAN](http://www.r-pkg.org/badges/version/plainview?color=009999)](https://cran.r-project.org/package=plainview)
[![status](https://tinyverse.netlify.com/badge/plainview)](https://CRAN.R-project.org/package=plainview)`plainview` enables interactive exploration of (raster)images. Images will be
rendered on a plain HTML canvas (hence the name of the package). For spatial data
this means that rendering is not restricted to a certain projection (e.g. web
mercator for leaflet or mapview) but rendering is projection independent. It also
means that it is possible to plot large images made up of millions of pixels.
## InstallationYou can install the released version of `plainview` from [CRAN](https://CRAN.R-project.org) with:
```{r, eval=FALSE}
install.packages("plainview")
```## Example
```{r layer, eval=FALSE}
# RasterLayer
plainView(poppendorf[[4]])
```![](man/figures/README-layer.png)
```{r stack true, eval=FALSE}
# RasterStack
plainview(poppendorf, r = 4, g = 3, b = 2) # true color
```![](man/figures/README-stack_true.png)
```{r stack false, eval=FALSE}
plainview(poppendorf, r = 5, g = 4, b = 3) # false color
```![](man/figures/README-stack_false.png)
### Code of Conduct
Please note that the 'plainview' project is released with a [Contributor Code of Conduct](https://github.com/r-spatial/plainview/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.