Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgleith committed Nov 10, 2024
1 parent 2d5ceb1 commit 124b7bc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dep_tools/grids.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,12 @@ def grid(
return _intersect_grid(full_grid, intersect_with)
else:
gridspec = _gridspec(resolution, crs)
geometry = Geometry(intersect_with.to_crs(PACIFIC_EPSG).simplify(10).to_frame().to_geo_dict())
geometry = Geometry(
intersect_with.to_crs(PACIFIC_EPSG)
.simplify(0.1)
.to_frame()
.to_geo_dict()
)
if buffer_distance is not None:
geometry = geometry.buffer(buffer_distance)
else:
Expand Down

0 comments on commit 124b7bc

Please sign in to comment.