Created
October 8, 2021 20:34
-
-
Save jkeefe/8d82e4f915524df48e27ebced2efd7cc to your computer and use it in GitHub Desktop.
Make SVG maps with more than one layer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hpgraphic: | |
npx mapshaper -i ./src/data/latest-mercator.geojson ./src/data/states/us-state-innerlines.geojson combine-files \ | |
--rename-layers counties,lines \ | |
--style target=lines stroke='#a0a0a0' stroke-width=0.5 \ | |
-proj albersusa \ | |
-o target=counties,lines format=svg ./src/data/for_hp.svg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment