Skip to content

Commit

Permalink
updating -> process
Browse files Browse the repository at this point in the history
  • Loading branch information
ytarazona authored Jan 20, 2023
1 parent 7033925 commit 72c5e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scikeo/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def extract(image, shp):

coords = [(x,y) for x, y in zip(gdf['geometry'].x, gdf['geometry'].y)]

gdf['values'] = [x for x in img.sample(coords)]
gdf['values'] = [x for x in image.sample(coords)]

bands_total = gdf['values'][0].shape[0]

Expand Down

0 comments on commit 72c5e1e

Please sign in to comment.