Skip to content

Commit

Permalink
Merge pull request #5 from sackh/docs_changes
Browse files Browse the repository at this point in the history
updated doc strings
  • Loading branch information
sackh authored Jul 12, 2020
2 parents f8f965f + 26b8c33 commit dd5d255
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion turfpy/measurement.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,12 @@ def point_on_feature(geojson) -> Feature:
"""
Takes a Feature or FeatureCollection and returns a Point guaranteed to be on the
surface of the feature.
:param geojson: Feature or FeatureCollection on which the Point is to be found.
:return: Feature point which on the provided feature.
Example:-
Example:
>>> from turfpy.measurement import point_on_feature
>>> from geojson import Polygon, Feature
>>> point = Polygon([((116, -36), (131, -32), (146, -43), (155, -25), (133, -9),
Expand Down

0 comments on commit dd5d255

Please sign in to comment.