Options:
Result:
GeoJSON is a well known, human readable format use for manipulating and visualizing geospatial data on the web.
But if is well supported by major mapping libraries like
Leaflet,
Openlayers
or D3.js
it is awfully inefficient when it comes to storing and transferring data.
Many technics can be find to minify GeoJSON, removing non-significant whitespace,
reducing the number of decimals used for coordinates or simplifying property keys.
But there's more we can do !
Binary format as GeoBuff could be a good alternative, but GeoJSONX remains a text/json format you can easily extend and include in an other JSON structure (such as a map).