Skip to content

Commit 26e2110

Browse files
committed
fiboa create-geojson: Option -f doesn't need a value any longer
1 parent da81c6a commit 26e2110

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2727

2828
- `fiboa create-geoparquet`: Handle column conversion more gracaefully
2929
- `fiboa validate`: Don't fail collection test if something unexpected happened
30+
- `fiboa create-geojson`: Option `-f` doesn't need a value any longer
3031

3132
## [v0.3.0] - 2024-04-10
3233

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ you can for example run:
4949
- GeoJSON FeatureCollection:
5050
`fiboa create-geojson example.parquet -o dest-folder`
5151
- GeoJSON Features (with indentation and max. 100 features):
52-
`fiboa create-geojson example.parquet -o dest-folder -n 100 -i 2 -f TRUE`
52+
`fiboa create-geojson example.parquet -o dest-folder -n 100 -i 2 -f`
5353

5454
Check `fiboa create-geoparquet --help` for more details.
5555

fiboa_cli/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ def create_geoparquet(files, out, collection, schema, ext_schema):
186186
)
187187
@click.option(
188188
'--features', '-f',
189+
is_flag=True,
189190
type=click.BOOL,
190191
help='Create seperate GeoJSON Feature files.',
191192
default=False

0 commit comments

Comments
 (0)