Skip to content

Commit

Permalink
Fixed projection bug clipping with empty boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed May 23, 2018
1 parent 5c9e905 commit 8688838
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geoviews/operation/projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def _project_contour(self, element, contour, data, boundary, geom_type, multi_ty
continue
try:
# Compute boundary intersections
g = g.intersection(boundary)
if boundary:
g = g.intersection(boundary)
except:
continue
if is_multi_geometry(g):
Expand Down

0 comments on commit 8688838

Please sign in to comment.