Added support for command files: a sequence of mapshaper commands stored in a .txt file, with # comments and no need for shell quoting or backslash line continuations. Run a command file with -run <file> (or just mapshaper commands.txt).
Added {{VAR}} variable interpolation for mapshaper command options, resolved at run time against environment variables ({{env.HOME}}), variables set by -vars and -defaults, and variables defined dynamically by commands like -calc, -define and -each.
Added the -vars command to assign variables (from key=value pairs or a JSON file) and the -defaults command to set variables only if they are not already defined.
The -dissolve command now repairs polygon topology by default, producing correct output on inputs that contain overlaps, gaps or other topology errors. The legacy fast algorithm is still available via -dissolve no-repair, which prints a warning if it detects segment intersections in the input.
The -dissolve2 command is now a deprecated alias for -dissolve.
Added a batch-mode flag to the -i command, which makes batch processing of multiple input files explicit (mapshaper *.shp batch-mode -o dest/). Implicit batch mode (triggered by passing multiple files without a flag) is now deprecated and will print a notice; the default will change in a future release so multiple files are imported together unless batch-mode is given.
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [mapshaper](https://github.com/mbloch/mapshaper) | dependencies | minor | [`^0.6.79` -> `^0.7.0`](https://renovatebot.com/diffs/npm/mapshaper/0.6.121/0.7.0) |
---
### Release Notes
<details>
<summary>mbloch/mapshaper (mapshaper)</summary>
### [`v0.7.0`](https://github.com/mbloch/mapshaper/releases/tag/v0.7.0)
[Compare Source](https://github.com/mbloch/mapshaper/compare/v0.6.121...v0.7.0)
- Added support for command files: a sequence of mapshaper commands stored in a `.txt` file, with `#` comments and no need for shell quoting or backslash line continuations. Run a command file with `-run <file>` (or just `mapshaper commands.txt`).
- Added `{{VAR}}` variable interpolation for mapshaper command options, resolved at run time against environment variables (`{{env.HOME}}`), variables set by `-vars` and `-defaults`, and variables defined dynamically by commands like `-calc`, `-define` and `-each`.
- Added the -vars command to assign variables (from key=value pairs or a JSON file) and the -defaults command to set variables only if they are not already defined.
- The -dissolve command now repairs polygon topology by default, producing correct output on inputs that contain overlaps, gaps or other topology errors. The legacy fast algorithm is still available via -dissolve no-repair, which prints a warning if it detects segment intersections in the input.
- The -dissolve2 command is now a deprecated alias for -dissolve.
- Added a `batch-mode` flag to the -i command, which makes batch processing of multiple input files explicit (mapshaper \*.shp batch-mode -o dest/). Implicit batch mode (triggered by passing multiple files without a flag) is now deprecated and will print a notice; the default will change in a future release so multiple files are imported together unless `batch-mode` is given.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekday,every weekend" (UTC), Automerge - "every weekend" (UTC).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41OC4zIiwidXBkYXRlZEluVmVyIjoiNDIuNTguMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYm90IiwicmVub3ZhdGUiXX0=-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
^0.6.79->^0.7.0Release Notes
mbloch/mapshaper (mapshaper)
v0.7.0Compare Source
.txtfile, with#comments and no need for shell quoting or backslash line continuations. Run a command file with-run <file>(or justmapshaper commands.txt).{{VAR}}variable interpolation for mapshaper command options, resolved at run time against environment variables ({{env.HOME}}), variables set by-varsand-defaults, and variables defined dynamically by commands like-calc,-defineand-each.batch-modeflag to the -i command, which makes batch processing of multiple input files explicit (mapshaper *.shp batch-mode -o dest/). Implicit batch mode (triggered by passing multiple files without a flag) is now deprecated and will print a notice; the default will change in a future release so multiple files are imported together unlessbatch-modeis given.Configuration
📅 Schedule: Branch creation - "every weekday,every weekend" (UTC), Automerge - "every weekend" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.