Lowercase for geometry types

Cog test failed in CI, but these are case insensitive anyway.
This commit is contained in:
Simon Willison 2025-10-01 13:32:09 -07:00
commit 370318c695
2 changed files with 9 additions and 9 deletions

View file

@ -1479,7 +1479,7 @@ See :ref:`cli_spatialite`.
paths. To load it from a specific path, use --load-extension.
Options:
-t, --type [POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION|GEOMETRY]
-t, --type [point|linestring|polygon|multipoint|multilinestring|multipolygon|geometrycollection|geometry]
Specify a geometry type for this column.
[default: GEOMETRY]
--srid INTEGER Spatial Reference ID. See

View file

@ -3071,14 +3071,14 @@ def convert(
"geometry_type",
type=click.Choice(
[
"POINT",
"LINESTRING",
"POLYGON",
"MULTIPOINT",
"MULTILINESTRING",
"MULTIPOLYGON",
"GEOMETRYCOLLECTION",
"GEOMETRY",
"point",
"linestring",
"polygon",
"multipoint",
"multilinestring",
"multipolygon",
"geometrycollection",
"geometry",
],
case_sensitive=False,
),