Using Mapshaper on Observable

Is it possible to import mapshaper and generate/convert files on Observable. Mapshaper is released on NPM

If you haven’t heard about mapshaper, it is command line tool to convert from various cartographic file formats (shapefiles, GeoJSON, SVGs, etc)

I tried to use require module debugger to import but it threw bunch of errors.

2 Likes

I’m afraid you’re out of luck, but you may want to follow

3 Likes

A bit of a start: Hello, mapshaper / Fil | Observable

I can read topojson data and create a svg file. But it’s quickly blocked.

1 Like