MCPcopy Index your code
hub / github.com/developmentseed/lonboard

github.com/developmentseed/lonboard @v0.16.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.16.0 ↗ · + Follow
904 symbols 3,554 edges 175 files 278 documented · 31% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Lonboard

PyPI Conda Version PyPI - Downloads Binder open_in_colab

<img src="https://github.com/developmentseed/lonboard/raw/v0.16.0/assets/lonboard-logo.png" width="550" />






<em>Fast, interactive geospatial data visualization in Jupyter.</em>

Building on cutting-edge technologies like GeoArrow and GeoParquet in conjunction with GPU-based map rendering, Lonboard aims to enable visualizing large geospatial datasets interactively through a simple interface.

3 million points rendered from a GeoPandas GeoDataFrame in JupyterLab. Example notebook.

Install

To install Lonboard using pip:

pip install lonboard

Lonboard is on conda-forge and can be installed using conda, mamba, or pixi. To install Lonboard using conda:

conda install -c conda-forge lonboard

To install from source, refer to the developer documentation.

Get Started

For the simplest rendering, pass geospatial data into the top-level viz function.

import geopandas as gpd
from lonboard import viz

gdf = gpd.GeoDataFrame(...)
viz(gdf)

Under the hood, this delegates to a ScatterplotLayer, PathLayer, or PolygonLayer. Refer to the documentation and examples for more control over rendering.

Documentation

Refer to the documentation at developmentseed.org/lonboard.

Why the name?

This is a new binding to the deck.gl geospatial data visualization library. A "deck" is the part of a skateboard you ride on. What's a fast, geospatial skateboard? A lonboard.

Illustration by Gus Becker.

Extension points exported contracts — how you extend this code

AppState (Interface)
Shape of the client-side UI state. All properties are UI-only.
src/state/store.ts
IconProps (Interface)
(no doc)
src/icons.tsx
SidePanelProps (Interface)
(no doc)
src/sidepanel/index.tsx

Core symbols most depended-on inside this repo

isDefined
called by 212
src/util.ts
error
called by 99
lonboard/traits/_base.py
viz
called by 43
lonboard/_viz.py
from_geopandas
called by 37
lonboard/layer/_path.py
update
called by 17
lonboard/_geoarrow/ops/bbox.py
accessColorData
called by 16
src/model/types.ts
accessFloatData
called by 16
src/model/types.ts
validate_h3_indices
called by 15
lonboard/_h3/_validate_h3_cell.py

Shape

Function 400
Method 300
Class 200
Interface 3
Route 1

Languages

Python72%
TypeScript28%

Modules by API surface

src/model/layer/polygon.ts32 symbols
src/model/view.ts29 symbols
src/model/map-control.tsx29 symbols
tests/ui/test_feature_interaction.py26 symbols
tests/test_viz.py21 symbols
tests/traits/test_filter_extension.py20 symbols
tests/test_traits.py20 symbols
tests/test_map.py19 symbols
src/model/extension.ts18 symbols
lonboard/traits/_upstream_wrappers.py18 symbols
lonboard/types/layer.py17 symbols
lonboard/layer/_raster.py16 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add lonboard \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact