I'm trying to simplify several geojson and topojson files at once to output them into one file with a consistent level of detail. I'm using Mapshaper because I like it's map simplification features.
I see in the docs that it has a
combine-filesImport multiple files to separate layers with shared topology. Useful for generating a single TopoJSON file containing multiple geometry objects.
That's exactly what I want to do, but there's no example and everything I've tried doesn't work.
I've tried applying it in the input commands box before upload, at the same time as upload, after upload, with and without quotes, and from the console and output box after upload. They all just show the separate files as separate files.
How do I use
combine-files to upload / input multiple files into one?
I noticed that the browser interface seems to automatically treat multiple files as layers, so I tried
-merge-layers name="another layer" target="selected layer", or
-merge-layers name="another layer", but it replaced the layer instead of merging.
Basically I just want to be able to see and simplify the contents of multiple files at once, to ensure consistency and no gaps between layers that border each other, then output them as (ideally) one file with one layer for each original file.