Description
NOTE: Trackserver v5.0 contains backwards-incompatible changes and changes to client configurations are needed. Please read the release notes for more information.
Getting your GPS tracks into WordPress and publishing them has never been easier!
Trackserver is a plugin for storing and publishing GPS routes. It is a server companion to several mobile apps for location tracking, and it can display maps with your tracks on them by using a shortcode. It can also be used for live tracking, where your visitors can follow you or your users on a map.
Unlike other plugins that are about maps and tracks, Trackserver’s main focus is not the publishing, but rather the collection and storing of tracks and locations. It’s all about keeping your data to yourself. Several mobile apps and protocols are supported for getting tracks into trackserver:
- TrackMe
- MapMyTracks protocol, for example using OruxMaps, including upload functionality
- OsmAnd’s live tracking protocol
- µLogger
- GPSLogger
- PhoneTrack-Android also works with OsmAnd’s protocol (Trackserver >= 4.3)
- SendLocation
- Traccar client
- OwnTracks (experimental support)
- HTTP POST, for example using AutoShare
A shortcode [tsmap] is provided for displaying your tracks on a map. Maps are displayed using the fantastic Leaflet library and some useful Leaflet plugins are included. Maps can be viewed in full-screen on modern browsers.
To publish a map with a track in a post or a page, just include the shortcode:
[tsmap track=<id>]
See the FAQ section for more information on the shortcode’s supported attributes.
Requirements
Trackserver requires PHP 5.3 or newer and it needs both DOMDocument and SimpleXML extensions installed.
Credits
This plugin was written by Martijn Grendelman. Development is tracked on Github.
It includes some code and libraries written by other people:
- Leaflet.js by Vladimir Agafonkin and others
- Polyline encoder by Eric McConville
- Leaflet-omnivore by Mapbox
- Leaflet.fullscreen by John Firebaugh and others
- Promise-polyfill by Taylor Hakes