Skip to content

Commit

Permalink
Fix fio-cat --precision errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillies committed Jun 9, 2022
1 parent 7094b29 commit d55b959
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fiona/fio/cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def cat(
)

if precision >= 0:
geom = recursive_round(geom)
geom = recursive_round(geom, precision)

feat = Feature(
id=feat.id,
Expand Down
7 changes: 4 additions & 3 deletions fiona/fio/helpers.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
"""Helper objects needed by multiple CLI commands.
"""
Helper objects needed by multiple CLI commands.
"""

from functools import partial
import json
import math
import warnings

from munch import munchify

from fiona.model import to_dict
from fiona.model import Geometry, to_dict


warnings.simplefilter("default")
Expand Down

0 comments on commit d55b959

Please sign in to comment.