(no title)
mlunar | 2 years ago
Well, mostly that it's text / XML you usually have to parse in full and boundaries are data heavy, so if you have anything more than a world map, I don't see that working very well.
In contrast with the OP or GeoPackage, you can query by tiles/range and only extract the boundaries you need if you're zoomed in somewhere. If you use Tiny Well-Known Binary compression, you can also shrink the data quite a bit while keeping the querying capabilities.
But if you only ever need to render the whole thing, topojson is probably the winner as it cleverly encodes only unique borders once, so it tends to be a lot smaller.
And of course if SVG works for your case, go ahead and use it, it's surely the easiest way to render vector gfx in the browser :)
keepamovin|2 years ago
mlunar|2 years ago