Skip to content

Commit

Permalink
Merge pull request #86 from annaspiers/master
Browse files Browse the repository at this point in the history
removed commented out line defining shp_sub
  • Loading branch information
Leah Wasser committed Oct 30, 2018
2 parents 107c898 + 7b0e2b7 commit f906459
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion earthpy/clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def clip_line_poly(shp, clip_obj):
bbox = poly.bounds
# Get a list of id's for each road line that overlaps the bounding box and subset the data to just those lines
sidx = list(spatial_index.intersection(bbox))
#shp_sub = shp[shp.index.isin(sidx)]
shp_sub = shp.iloc[sidx]

# Clip the data - with these data
Expand Down

0 comments on commit f906459

Please sign in to comment.