Ever struggled with huge GeoJSON-Files for your web project? BrokJSON is your space-saving alternative! Depending on your data you can save up to 80%. Withouth losing any information! How? Because it is based on the same ideas as GeoJSON but reduces redundancies. Look at this example:
This BrokJSON contains two points and data for each point.
{
"properties": ["id", "title", "value"],
"geometries": [{
"type": "Point",
"features": [
[[8.5402, 47.3782], [1, "Datapoint 1", 343]],
[[8.5637, 47.4504], [1, "Datapoint 2", 14]]
]
}
]}
Copy to clipboard
The same file as a GeoJSON: Huge!
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"id": 1,
"title": "Datapoint 1",
"value": 343
},
"geometry": {
"type": "Point",
"coordinates": [8.5402,47.3782]
}
},
{
"type": "Feature",
"properties": {
"id": 1,
"title": "Datapoint 2",
"value": 14
},
"geometry": {
"type": "Point",
"coordinates": [8.5637,47.4504]
}
}]
}
Copy to clipboard
Get BrokJSON for your system!