Switching from Trackserver to WP GPX Maps

Trackserver is made to collect tracks: phone apps such as OsmAnd, GPSLogger, Traccar or OruxMaps send your position to your own site, and the [tsmap] shortcode draws the line. Its last update is from September 2025. If your posts are about the routes themselves and you want an elevation profile, a route summary (distance, climbing, time) and the chart linked to the map, WP GPX Maps does that out of the box. This guide moves your Trackserver maps one post at a time, without breaking anything.

Before you start

  • Make a backup of the site (most hosts have a button for it).
  • Install and activate WP GPX Maps from Plugins > Add New. The two plugins can stay active together: they use different shortcodes.
  • Keep Trackserver active until you have downloaded the tracks: they are saved in its own database tables, not as files.

1. Find the posts with a Trackserver map

In Posts > All Posts search for tsmap (do the same in Pages). There are three kinds of maps:

  • [tsmap gpx="…"] or kml="…": the map already reads a file. Skip to step 3 and use the same address.
  • [tsmap track=12,13]: tracks saved in Trackserver. Write down the numbers and go to step 2.
  • [tsmap user=@] or live=true: live tracking. See the last section.

2. Download the tracks as GPX files

Trackserver can give every saved track as a GPX file with its own [tslink] shortcode. Create a new draft page, write one line per track and preview the page:

[tslink track=12]Track 12[/tslink]

Click each link to save the file, then delete the draft. A link with several numbers (track=12,13) gives one file with all of them: WP GPX Maps shows it as one route with its total distance and climbing. Then upload the files in the GPX Map block (Media Library button) or in Settings > WP GPX Maps > Tracks.

3. Replace the shortcode

A typical Trackserver map looks like this:

[tsmap track=12,13 height=450px color=#ff0000,#0000ff markers=y zoom=14]

The same map with WP GPX Maps:

[sgpx gpx="/wp-content/uploads/gpx/day-1.gpx,/wp-content/uploads/gpx/day-2.gpx" mheight="450px" startend=true summary=true summarytotlen=true summaryeleup=true]

Or, in the block editor, delete the shortcode and add a GPX Map block, then pick the files from the list.

TrackserverWP GPX Maps
track, idgpx with the files downloaded in step 2. Several files separated by commas show on one map, each in its own color
gpx, kml (addresses separated by spaces)gpx with the same addresses separated by commas. KML and KMZ files work too, and so do FIT and TCX
height, widthmheight, width, with the unit: 450px, 100%
colormlinecolor for one track, or colorby=grade to color it by steepness
markersstartend=true: start and finish flags
zoomNot needed: the map zooms on the track by itself
[tslink] download linkdownload=true: a link to the GPX file under the map
(none)summary=true for distance, climbing and time; elevation, speed and heart rate charts linked to the map

If you use live tracking

WP GPX Maps shows saved tracks and does not receive positions from phone apps. If you follow trips live with user=@ or live=true, keep Trackserver for those maps and move only the finished routes. Live position (OwnTracks, Traccar, GPSLogger, Garmin inReach) is one of the features of WP GPX Maps Pro.

4. Check and clean up

Open each post you changed and check the map. When no post uses tsmap any more and you do not track live, you can deactivate Trackserver. Keep the downloaded GPX files: they are now your copy of the tracks.

This is what a moved post looks like:

Map of the route “Switching from Trackserver to WP GPX Maps”: 6,49 km, 1.157 m of climbing and 14 m of descent, elevation between 606 m and 1.753 m, time 01:53:52. It starts at 45.86700, 11.83435 and ends at 45.87277, 11.80264 (latitude, longitude). Estimated time for hiking: 3 h 45 min, without stops.

Total distance: 6.51 km
Max elevation: 1754 m
Total climbing: 1157 m

Estimated time, hiking: 3 h 45 min (CAI hiking time, without stops)

New to WP GPX Maps? Start from How to add a GPX track to WordPress. Stuck with a map? Ask in the support forum with the old shortcode and the address of the page.

Commenti

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *