Skip to content

Commit 370318c

Browse files
committed
Lowercase for geometry types
Cog test failed in CI, but these are case insensitive anyway.
1 parent f91e4c9 commit 370318c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/cli-reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ See :ref:`cli_spatialite`.
14791479
paths. To load it from a specific path, use --load-extension.
14801480

14811481
Options:
1482-
-t, --type [POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION|GEOMETRY]
1482+
-t, --type [point|linestring|polygon|multipoint|multilinestring|multipolygon|geometrycollection|geometry]
14831483
Specify a geometry type for this column.
14841484
[default: GEOMETRY]
14851485
--srid INTEGER Spatial Reference ID. See

sqlite_utils/cli.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3071,14 +3071,14 @@ def wrapped_fn(value):
30713071
"geometry_type",
30723072
type=click.Choice(
30733073
[
3074-
"POINT",
3075-
"LINESTRING",
3076-
"POLYGON",
3077-
"MULTIPOINT",
3078-
"MULTILINESTRING",
3079-
"MULTIPOLYGON",
3080-
"GEOMETRYCOLLECTION",
3081-
"GEOMETRY",
3074+
"point",
3075+
"linestring",
3076+
"polygon",
3077+
"multipoint",
3078+
"multilinestring",
3079+
"multipolygon",
3080+
"geometrycollection",
3081+
"geometry",
30823082
],
30833083
case_sensitive=False,
30843084
),

0 commit comments

Comments
 (0)