Skip to main content

A package for rendering GeoJS scenes in JupyterLab

Project description

# jupyterlab_geojs


A JupyterLab notebook extension for rendering geospatial
data using the GeoJS front end library

![Example Screenshot](./docs/BasicScreenshot.png)

## Prerequisites

* JupyterLab ^0.32.1 and Notebook >=5.5.0

## Usage

To render GeoJS output in JupyterLab:

from jupyterlab_geojs import Scene
scene = Scene()


The notebooks folder contains examples.

## Install

# 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

# 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 in test/ folder.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jupyterlab-geojs, version 0.3.3
Filename, size File type Python version Upload date Hashes
Filename, size jupyterlab_geojs-0.3.3-py3-none-any.whl (20.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size jupyterlab_geojs-0.3.3.tar.gz (14.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page