We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 566f172 commit 3b231f1Copy full SHA for 3b231f1
lonboard/_cli.py
@@ -27,7 +27,9 @@ def read_pyogrio(path: Path) -> pa.Table:
27
) from e
28
29
meta, table = read_arrow(path)
30
- geometry_column_name = meta.get("geometry_name", "wkb_geometry")
+ # The `geometry_name` key always exists but can be an empty string. In the case of
31
+ # an empty string, we want to default to `wkb_geometry`
32
+ geometry_column_name = meta.get("geometry_name") or "wkb_geometry"
33
# TODO: assert there are not two column names of wkb_geometry, nor an existing
34
# column named "geometry"
35
0 commit comments