Skip to content

Commit

Permalink
distance_computation edits: fix max_distance param, remove notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaarnio committed Nov 14, 2024
1 parent dc363b4 commit ad9c3bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 194 deletions.
2 changes: 1 addition & 1 deletion eis_toolkit/vector_processing/distance_computation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@beartype
def distance_computation(
geodataframe: gpd.GeoDataFrame, raster_profile: Union[profiles.Profile, dict], max_distance: Optional[float] = None
geodataframe: gpd.GeoDataFrame, raster_profile: Union[profiles.Profile, dict], max_distance: Optional[Number] = None
) -> np.ndarray:
"""
Calculate distance from each raster cell (centre) to the nearest input geometry.
Expand Down
193 changes: 0 additions & 193 deletions notebooks/testing_distance_computation.ipynb

This file was deleted.

0 comments on commit ad9c3bc

Please sign in to comment.