This shows topojson.meshes()
, a proposed extension of topojson.mesh()
, that uses the filter(a,b)
function (renamed tag(a,b)
) to partition the mesh.
In this application the tag is the unique combination of the id of the two bordering countries, effectively listing individual borders. Exception: the tag is set to “coast” for the whole coast line.
Research by Philippe Rivière for topojson issue #17.