-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GeoJSON diff regressions in v0.10.1
* Revert `kart diff --output-format=geojson` output handling to the pre-0.10.1 behaviour. That is: - by default, output goes to stdout - if output goes to stdout and there are more than one dataset, a usage error occurs (exit code 2) with an error message. - `--output=mydirectory` can be used to set a directory into which to write output files; one file per dataset. - if an existing directory is given, any `*.geojson` files in the directory are deleted before creating output files - if a path to an existing regular file is given, a usage error occurs. * Remove `kart show --output-format=geojson`. This doesn't work well with multiple-dataset commits and was added rather coincidentally between 0.10.0 and 0.10.1. We'll remove it for simplicity as it isn't very usable; if multiple datasets end up in a single commit, then this shows all features together in one FeatureCollection, even if their feature schemas are different.
- Loading branch information
Showing
4 changed files
with
122 additions
and
35 deletions.
There are no files selected for viewing
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
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
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
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