Skip to content

Open GPS Tracker app for iOS. Log your tracks without limits and share them. Open source GPX tracker app is written in Swift

License

Notifications You must be signed in to change notification settings

djsixb/iOS-Open-GPX-Tracker

 
 

Repository files navigation

Open GPX Tracker for iOS

Available on the app store

Open GPX Tracker is a GPS logger for iOS (iPhone, iPad, iPod). Track your location, add waypoints and send your logs by email as GPX files.

This app has no annoying time restrictions, no ads and no in-app-purchases. Create unlimited GPX traces :)

Requires iOS 7.0 or above. Open GPX tracker is an open source app.

GPS Tracker logs

You can use Open GPX tracker for:

  • Creating routes and waypoints for editing Open Street Map.
  • Publishing Open Street Map Traces.
  • Creating real GPX files for testing your iOS apps in Xcode.

Main Features

  • Displays tracking information in a map
  • Supports Open Street Map, MapQuest and Open Cycle Map as map sources
  • Pause / Resume tracking
  • Add waypoint to user location
  • Add waypoint to any place in the map with a long press
  • Edit waypoint name
  • Drag & Drop waypoint pin
  • Remove waypoints
  • Send by email saved session (track + waypoints)
  • Load on map a saved session and continue tracking

Install

The app is available on the App Store since May 2015. This version uses Apple Maps as tile server.

Another option to install the app is to download the source code and compile it by yourself using Xcode. If you want to run it on a device, you also need an Apple developer account.

Download Source code

This application is written in Swift. To download the code run this command in a console:

 git clone https://github.com/merlos/iOS-Open-GPX-Tracker.git

Then, to test it open the file OpenGpxTracker.xcworkspace with XCode.

Selecting the tile server

Open GPX Tracker supports using different map sources (Apple Mapkit, Open Street Maps, MapQuest, Open Cycle Maps). That is, you can view the maps generated by Open Street Maps.

Tiles provided by Apple Mapkit are displayed by default. To change the tile server you need to edit the file ViewController.swift, and modify the line:

 //Default
 map.tileServer = GPXTileServer.Apple
 
 //Setting OpenStreetMap
 map.tileServer = GPXTileServer.OpenStreetMap
       

The list of available tile servers is defined in GPXTileServer.swift. Possible values:

.Apple
.OpenStreetMap
.MapQuest
.OpenCycleMap
.CartoDB

Please note the limitations of using Open Street Maps Tile Servers

Adding another tile server

Adding a tile server is easy, just edit the file GPXTileServer.swift, uncomment the lines with AnotherMap and modify the templateUrl to point to the new tile server.

You have a list of tile servers in Open Street Map Wiki

TODO

  • Do not request user location while not tracking and in background (to save battery)
  • Add user interface to change the tile server. Also include attributions and copyrights of each tile server.

Contribute

You can contribute by forking

Please note that by submitting any pull request you are providing me (Juan M. Merlos) the rights to include and distribute those changes also on the binary app published on the App Store (which is released under Apple's Standard License Agreement)

License

Open GPX Tracker app for iOS. Copyright (C) 2014 Juan M. Merlos (@merlos)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.


Please note that this source code was released under the GPL license. So any change on the code shall be made publicly available and distributed under the GPL license (this does not apply to the pods included in the project which have their own license).


This app uses:

Entry on the Open Street Maps Wiki

About

Open GPS Tracker app for iOS. Log your tracks without limits and share them. Open source GPX tracker app is written in Swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 97.3%
  • HTML 2.1%
  • Other 0.6%