# jupyterlab_geojs
[](https://mybinder.org/v2/gh/OpenGeoscience/jupyterlab_geojs/master)
A JupyterLab notebook extension for rendering geospatial
data using the GeoJS front end library

## Prerequisites
* JupyterLab ^0.32.1 and Notebook >=5.5.0
## Usage
To render GeoJS output in JupyterLab:
```python
from jupyterlab_geojs import Scene
scene = Scene()
scene.create_layer('osm')
scene
```
The notebooks folder contains examples.
## Install
```bash
# Install this lab extension
jupyter labextension install @johnkit/jupyterlab_geojs
# Also need to install the widget-manager extension
jupyter labextension install @jupyter-widgets/jupyterlab-manager
# Install the python package
pip install jupyterlab_geojs
```
## Development
```bash
# Install python package
pip install -e .
# Install widget-manager extension
jupyter labextension install @jupyter-widgets/jupyterlab-manager
# Install js dependencies
npm install
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension link .
# Run
jupyter lab
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build
```
For testing, see README.md in test/ folder.
[](https://mybinder.org/v2/gh/OpenGeoscience/jupyterlab_geojs/master)
A JupyterLab notebook extension for rendering geospatial
data using the GeoJS front end library

## Prerequisites
* JupyterLab ^0.32.1 and Notebook >=5.5.0
## Usage
To render GeoJS output in JupyterLab:
```python
from jupyterlab_geojs import Scene
scene = Scene()
scene.create_layer('osm')
scene
```
The notebooks folder contains examples.
## Install
```bash
# Install this lab extension
jupyter labextension install @johnkit/jupyterlab_geojs
# Also need to install the widget-manager extension
jupyter labextension install @jupyter-widgets/jupyterlab-manager
# Install the python package
pip install jupyterlab_geojs
```
## Development
```bash
# Install python package
pip install -e .
# Install widget-manager extension
jupyter labextension install @jupyter-widgets/jupyterlab-manager
# Install js dependencies
npm install
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension link .
# Run
jupyter lab
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build
```
For testing, see README.md in test/ folder.
Release files for jupyterlab-geojs 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyterlab_geojs-0.3.3.tar.gz | 14.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyterlab_geojs-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.0 kB
Release files / jupyterlab_geojs-0.3.3.tar.gz
| Download URL | jupyterlab_geojs-0.3.3.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e99d87d283acbf2987b58bd234a0746489448ce686c72bf32055e04077fddc9
|
|
BLAKE2b-256 checksum How to use checksums |
cc2582fe0b20832712bea524ade0f215eff23fca9a95a32fe6f9d02901340f4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.2
|
Release files / jupyterlab_geojs-0.3.3-py3-none-any.whl
| Download URL | jupyterlab_geojs-0.3.3-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff16561f42139a4da3350be1680c83b7694f95c5ac45a10ea6860a90ff43f7fa
|
|
BLAKE2b-256 checksum How to use checksums |
6cc69f1530c90891755d272f331e38f9c11f45b17a77b9fc3ca5246856cedce2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.2
|