Skip to content

geojupyter/r-jupytergis

Repository files navigation

Logo by Isabel Paredes

JupyterGIS R client

This is the R client for JupyterGIS. It shares the same JS frontend as the Python client, as well as the same underlying CRDT library Yrs via its R bindinds Yr.

The main interface is a GISDocument widget implemented via r-ywdigets.

Installation

This project only works in JupyterLab with the xeus-r kernel. The official installation method is based on Conda-Forge via (mamba/conda/pixi).

mamba install jupyterlab xeus-r r-ywidgets

Getting started

The main interface is via the GISDocument class. See the example notebook for details.

doc <- GISDocument$new("france_hiking.jGIS")
layer <- doc$add_raster_layer(
    url = "https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}",
    name = "Google Satellite",
    attribution = "Google",
    opacity = 0.6
)

See also

  • r-ywdigets: The R collaborative widget library.
  • JupyterGIS: The Jupyter frontend for the widgets and Python API to control them.

About

R bindings to interact with Jupyter GIS widgets

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors