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. The tag is set to 0 for the coast line.
Research by Philippe Rivière for topojson issue #17.