Skip to main content
Archived

Add support for GeoBuf

Related products:Integrations
  • October 17, 2017
  • 1 reply
  • 29 views

fmelizard
Safer
Forum|alt.badge.img+22

https://github.com/mapbox/geobuf

Geobuf is a compact binary encoding for geographic data.

Geobuf provides lossless compression of GeoJSON data into protocol buffers. Advantages over using GeoJSON alone:
  • Very compact: typically makes GeoJSON 6-8 times smaller.
  • 2-2.5x smaller even when comparing gzipped sizes. - Very fast encoding and decoding — even faster than native JSON parse/stringify.
  • Can accommodate any GeoJSON data, including extensions with arbitrary properties.
The encoding format also potentially allows:
  • Easy incremental parsing — get features out as you read them, without the need to build in-memory representation of the whole data.
  • Partial reads — read only the parts you actually need, skipping the rest.
Think of this as an attempt to design a simple, modern Shapefile successor that works seamlessly with GeoJSON. Unlike Mapbox Vector Tiles, it aims for lossless compression of datasets — without tiling, projecting coordinates, flattening geometries or stripping properties.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

darkspatiallord
Supporter
Forum|alt.badge.img+8

did this get done