Skip to content

Commit

Permalink
Merge pull request #239 from timgates42/bugfix_typos
Browse files Browse the repository at this point in the history
docs: fix a few simple typos
  • Loading branch information
tkrajina authored Nov 3, 2021
2 parents e22de54 + 7f308f3 commit cc38698
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Please include tests for new features. Tests or documentation without bug fixes
- Run the test suite on both Python 2.x and 3.x. You can enable [Travis CI](https://travis-ci.org/profile/) on your repo to catch test failures prior to the pull request, and [Coveralls](https://coveralls.io) to see if the changed code is covered by tests.
- Create a pull request to pull the changes from your branch to the gpxpy master.

If you plan a big refactory, open an inssue for discussion before starting it.
If you plan a big refactory, open an issue for discussion before starting it.

### Guidelines

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ The GPX version is automatically determined when parsing by reading the version

## GPX max speed

Gpxpy is a GPX parser and by using it you have acess to all the data from the original GPX file. The additional methods to calculate stats have some additional heuristics to remove common GPS errors. For example, to calculate `max_speed` it removes the top `5%` of speeds and points with nonstandard distance (those are usually GPS errors).
Gpxpy is a GPX parser and by using it you have access to all the data from the original GPX file. The additional methods to calculate stats have some additional heuristics to remove common GPS errors. For example, to calculate `max_speed` it removes the top `5%` of speeds and points with nonstandard distance (those are usually GPS errors).

"Raw" max speed can be calculated with:

Expand Down
8 changes: 4 additions & 4 deletions gpxpy/gpx.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ def join(self, track_segment: "GPXTrackSegment") -> None:
self.points += track_segment.points

def remove_point(self, point_no: int) -> None:
""" Removes a point specificed by index from the segment """
""" Removes a point specified by index from the segment """
if point_no < 0 or point_no >= len(self.points):
return

Expand Down Expand Up @@ -1562,7 +1562,7 @@ def walk(self, only_points: bool=False) -> Iterator[Any]: #Union[GPXTrackPoint,
point : GPXTrackPoint
Point in the track
segment_no : integer
Index of segment containint point. This is suppressed if only_points
Index of segment containing point. This is suppressed if only_points
is True.
point_no : integer
Index of point. This is suppressed if only_points is True.
Expand Down Expand Up @@ -2309,10 +2309,10 @@ def walk(self, only_points: bool=False) -> Iterator[Any]:
point : GPXTrackPoint
Point in the track
track_no : integer
Index of track containint point. This is suppressed if only_points
Index of track containing point. This is suppressed if only_points
is True.
segment_no : integer
Index of segment containint point. This is suppressed if only_points
Index of segment containing point. This is suppressed if only_points
is True.
point_no : integer
Index of point. This is suppressed if only_points is True.
Expand Down

0 comments on commit cc38698

Please sign in to comment.