Skip to content

Commit

Permalink
improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Dec 28, 2023
1 parent e51d116 commit 25a0d5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions osmnx/utils_geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ def interpolate_points(geom, dist):
a LineString geometry
dist : float
spacing distance between interpolated points, in same units as `geom`.
smaller values generate more points.
smaller values accordingly generate more points.
Yields
------
point : tuple of floats
a generator of (x, y) tuples of the interpolated points' coordinates
points : generator
tuples of (x, y) floats of the interpolated points' coordinates
"""
if isinstance(geom, LineString):
num_vert = max(round(geom.length / dist), 1)
Expand Down

0 comments on commit 25a0d5d

Please sign in to comment.