forked from dougfales/gpx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Nokogiri and Ruby minimum dependencies
- Loading branch information
Andrew Hao
committed
Jan 5, 2017
1 parent
6a48c48
commit 0ed825d
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
[<img src="https://travis-ci.org/dougfales/gpx.svg" alt="Build Status" />](https://travis-ci.org/dougfales/gpx) | ||
[![Code Climate](https://codeclimate.com/github/dougfales/gpx/badges/gpa.svg)](https://codeclimate.com/github/dougfales/gpx) | ||
|
||
Copyright (C) 2006 Doug Fales [email protected] | ||
Copyright (C) 2006 Doug Fales [email protected] | ||
|
||
Released under the MIT License. | ||
|
||
|
@@ -19,9 +19,14 @@ rectangular areas within a file, and it also calculates some meta-data about | |
the tracks and points in a file (such as distance, duration, average speed, | ||
etc). | ||
|
||
## Requirements | ||
|
||
As of `0.9.0`, `gpx` requires at least Ruby 2.1 to run. | ||
|
||
## Examples | ||
|
||
Reading a GPX file, and cropping its contents to a given area: | ||
|
||
```ruby | ||
gpx = GPX::GPXFile.new(:gpx_file => filename) # Read GPX file | ||
bounds = GPX::Bounds.new(params) # Create a rectangular area to crop | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters