Skip to content

Python API Reference

This reference is generated from the docstrings in the geolibre Python package (python/src/geolibre), so it always matches the source. For installation and a guided tour of the API, see Python Package.

The names most notebooks need are re-exported from the top-level package:

import geolibre

m = geolibre.Map(center=[-100, 40], zoom=3)
Module Contents
Map, Layer and Feature The Jupyter widget and its leafmap-style API
authoring Widget-free load, save, describe and edit operations on project dicts
project Builders for .geolibre.json projects and their layers
color_ramp Color ramps and classification breaks
legends Built-in legend presets
basemaps Named basemap styles
polyline Google Encoded Polyline helpers
pointcloud Point cloud labelling and LAS/LAZ writing
spaceborne_lidar ICESat-2 and GEDI footprint readers
dash_component The DashMap component for Dash apps