Skip to content
 
 

Latest commit

 

History

426 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portolan CLI

PyPI version CI codecov Python 3.10+ License

Portolan is an opinionated specification for serverless spatial data infrastructures. It defines how publishers store, organize, document, and serve geospatial data as static files in their own storage. Every Portolan catalog should offer a predictable, high-quality experience for publishers, people, and agents.

Portolan builds on existing standards instead of replacing them. GeoParquet and PMTiles serve vector data, while COG serves raster data. STAC provides a consistent catalog structure and index. Required README and AGENTS.md files explain each catalog to people and agents. The specification also covers operational details such as spatial ordering, bounding boxes, and CORS.

This repository contains the Portolan CLI, an implementation of the specification. It helps publishers:

  • Build STAC catalogs with GeoParquet and COG assets.
  • Extract ArcGIS, WFS, and Carto sources.
  • Generate thumbnails, PMTiles, MapLibre styles, and STAC GeoParquet indexes.
  • Track collection versions and checksums without a database.
  • Validate catalog metadata, structure, and assets against the Portolan specification.
  • Push, pull, sync, and clone catalogs through S3, GCS, Azure, or S3-compatible storage.
  • Use structured JSON output, a typed Python API, or backend plugins.

Installation

Portolan CLI is pre-1.0 software, as breaking changes are expected for the time being.

uv tool install portolan-cli

Or with pip:

pip install portolan-cli

Documentation

Start with the end-to-end publishing example. We plan to add more tutorials over time.

See the full documentation. It includes an auto-generated CLI reference and Python API reference.

Development

git clone https://github.com/portolan-sdi/portolan-cli.git
cd portolan-cli
uv sync --all-extras
uv run pytest

See the contributing guide for details.

License

Apache 2.0

About

A CLI tool for managing cloud-native geospatial data

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages