BSD Ports

geo/pmtiles 1.31.2 OpenBSD

CLI to work with Protomaps PMTiles archives

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Stuart Henderson <[email protected]>
Port added
Last update
Commit
1d059b4139
Categories
geo, lang/go

Description

PMTiles is a single-file archive format for tiled data. A PMTiles archive can be self-hosted, or hosted on a commodity storage platform such as S3, and enables low-cost, zero-maintenance map applications that are free of a custom tile backend or third party provider.

This package provides the pmtiles CLI command, which works with local tilesets on disk, or remotely (e.g. with archives on cloud storage, even in private buckets). File operations include displaying basic information, extracting an archive containing just your chosen zoom levels and/or area from a larger file (e.g. those at https://maps.protomaps.com/builds/), merging disjoint files together, uploading to cloud storage, etc.

Some applications (like MapLibre GL JS) are able to use pmtiles files directly (fetching sections via HTTP Range requests); some others want a server providing an industry-standard "ZXY" API to fetch rendered tiles: pmtiles can provide this over HTTP.

Install

Binary package:

pkg_add pmtiles

From the ports tree:

cd /usr/ports/geo/pmtiles && make install

Dependencies

Build dependencies 2

No port depends on this one.

Commit history 4

DateCommitCreditsLog message
1d059b4139 sthen update to pmtiles-1.31.2
9ab45384e0 sthen pmtiles uses gobs of RAM when working with larger zoom levels, add a quick MESSAGE warning about this (it's better to find out before you download 100GB+).
5353a34fda sthen restrict archs, modernc.org/[email protected] fails
54312c7977 sthen import ports/geo/pmtiles, ok landry
PMTiles is a single-file archive format for tiled data. A PMTiles archive can be self-hosted, or hosted on a commodity storage platform such as S3, and enables low-cost, zero-maintenance map applications that are free of a custom tile backend or third party provider. This package provides the pmtiles CLI command, which works with local tilesets on disk, or remotely (e.g. with archives on cloud storage, even in private buckets). File operations include displaying basic information, extracting an archive containing just your chosen zoom levels and/or area from a larger file (e.g. those at https://maps.protomaps.com/builds/), merging disjoint files together, uploading to cloud storage, etc. Some applications (like MapLibre GL JS) are able to use pmtiles files …