Skip to content

Commit 4db526e

Browse files
committed
Fix bug in getting all overture schema types
1 parent 3c91fef commit 4db526e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

overturemaps/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def get_writer(output_format, path, schema):
3333
# boxes do all the work.
3434
metadata = schema.metadata
3535
geo = json.loads(metadata[b"geo"])
36-
for column in geo["columns"].values():
36+
for column in geo["columns"].keys():
3737
column.pop("bbox")
3838
metadata[b"geo"] = json.dumps(geo).encode("utf-8")
3939
schema = schema.with_metadata(metadata)

0 commit comments

Comments
 (0)