• mapbox/geobuf · GitHub
    https://github.com/mapbox/geobuf

    Geobuf is a compact binary encoding for geographic data. #geobuf provides lossless compression of #geojson and #topojson data into protocol buffers. Advantages over using JSON-based formats alone: - Very compact: typically makes GeoJSON 6-8 times smaller and TopoJSON 2-3 times smaller. - Smaller even when comparing gzipped sizes: 2-2.5x compression for GeoJSON and 20-30% for TopoJSON. - Very fast encoding and decoding — even faster than native JSON parse/stringify. - Can accommodate any GeoJSON and TopoJSON 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 (...)

    #map