0

I have a topojson file of all US states that I would like to merge into a single entity, i.e. removing common arcs.

Several answers suggest using topojson.mesh(), as is pointed out in the answer here: D3: Merge interior svg paths?

However I would like to save the output topojson for reuse in the future. So is there a way to manipulate the original file through the command line tool instead?

Thanks

Community
  • 1
  • 1
Khorkhe
  • 1,024
  • 1
  • 11
  • 26

1 Answers1

0

I ended up doing it in JS, outputting it to console in JSON format, then using terminal's topojson cmd to convert geojson back to topojson.

Khorkhe
  • 1,024
  • 1
  • 11
  • 26