azavea / azavea/topobuf

CLI to convert TopoJSON to topobuf format

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi,

the [geobuf 1.0.1](https://www.npmjs.com/package/geobuf/v/1.0.1#command-line) had a CLI to convert a topojson to a pbf:

> json2geobuf: turn GeoJSON or **TopoJSON** from stdin or specified file to Geobuf on stdout

[Current geobuf version](https://www.npmjs.com/package/geobuf#command-line) also still has the CLIs but without the topojson support.

topobuf seems to have no such CLIs. I have a bunch of topojson files that I want to send from a normal http server (apache) to a map framework like MapLibre or OpenLayers. The idea is to save network bandwidth.

But how to convert the topojson to topobuf format?

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the linked geobuf 1.0.1 and current CLI documentation first, then determine how topobuf currently exposes its conversion entry points. Done means a usable CLI converts TopoJSON from stdin or a specified file into topobuf/PBF for serving to MapLibre or OpenLayers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.