Questions tagged [gpx]

GPS eXchange Format is an open non-propietary GPS file format free from license restrictions used to describe waypoints, tracks, and routes. Its tags store location, elevation, and time. Outside of Esri, it is the defacto standard for exchanging GPS data between applications.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Common values for GPX <type> field?

The GPX schema defines an optional <type> field which can be applied to waypoints, tracks or routes. The schema says the field describes the "Type (classification)" of the element, ...
0 votes
1 answer
269 views

GPX based contours in QGIS

I am an amateur orienteering mapper working on a complicated piece of ground. I can survey the ground with a very accurate GNSS RTK NTRIP connected receiver which records a GPX track. The GPX contains ...
0 votes
1 answer
515 views

Loading a GPX file using OpenLayers 2

I am trying to read a gpx file and add it as a layer to Open Layers. Here is my code snippet osMap = new OpenLayers.Map({ div: "map", maxExtent: extent, resolutions: ...
2 votes
1 answer
659 views

Splitting GPX track into 3 pieces, removing 2nd and moving 1st to 3rd

I have recorded a track from a race and my Suunto Spartan Sport watch screw it. Suunto somehow recorded it with wrong coordinates (shifted the first part ~1 km far) and it resulted +1 km and wrongly ...
0 votes
1 answer
404 views

Seeking GIS program with GPX support and free hand selection tool

I'm looking for GIS program that has good support for KML/KMZ or GPX route files and also has free hand selection tool. Right now I use 3dem and it would be perfect for my needs if only it had that ...
2 votes
1 answer
459 views

Batch processing GPX tracks

I have a manual QGIS system that starts when I load a GPX file into QGIS and perform a number of actions on it. It all works perfectly. I want to automate this process using the QGIS Graphical Modeler,...
1 vote
1 answer
162 views

Autogenerating waypoints to GPX file with QGIS to find coordinates along route

Edit: I was able to figure out how to get the waypoints, I now need help with getting the coordinates for those waypoints in a CSV or JSON format. I am trying to get geo coordinates for every 0.1 km ...
1 vote
1 answer
371 views

Interpolating missing timestamps in GPS track

I have two tracks from a recent outing. One is a detailed representation of the route without timestamps (derived from a map), and the other is a coarse GPS track (a point every 5 to 15 minutes or so) ...
11 votes
5 answers
23k views

Rendering GPX track data onto video?

I have two geeky passions while driving: recording GPX data to upload to OSM as well as recording on board videos like this one. Since these kind of videos are sort of boring for others to watch I was ...
1 vote
2 answers
2k views

How route-points <rtept> and track-points <trkpt> can exist in a GPX file together

Is it a valid schema to have both route points and track points in a single GPX file representing the same route at the same time? In this format - <gpx> <rte> <rtept lat=&...
1 vote
3 answers
3k views

Getting .gpx into mapInfo

Is there a way to get .gpx files pulled from my Garmin GPS60 with MapSource into MapInfo 12? I know I can grab the data as .txt and fiddle with it in Excel first, just wondering if there is another ...
11 votes
3 answers
5k views

Why do vectors disappears when zooming in?

I have imported a .gpx file into qgis and separated the track waypoints using Vector > GPS > GPS tools. When viewing at full extent I can see the original track and component waypoints. However when ...
1 vote
1 answer
75 views

GDAL add custom fields to GPX files using the command line (batch)

Using the GDAL/OGR command line, how could one add some fields to a GPX file ? I simply need to add the gpx filename to its content, e.g. in a new field called datasource in each (there are several ...
37 votes
6 answers
56k views

Converting .shp into .gpx using QGIS

I would like to convert .shp into .gpx. Using GIS, I open my shapefile and I tried to "save as" gpx but it gives an OGR error: creation of field ObjectId failed (OGR error: Field of name '...
0 votes
0 answers
76 views

Loading shapefiles, GeoJSON, KML and GPX giving properties only for shapefiles in Leaflet

The following code allows for loading local shapefiles, GeoJSON, KML and GPX, but items properties are not the same. Only shapefiles will return its properties with a bindpopup of global properties. //...
2 votes
2 answers
7k views

What are the units for Garmin's GPX gpxtpx:speed?

I have a Garmin Nüvi GPS and it's filled with XML records that look like this: <trkpt lat="38.900207" lon="-77.008990"> <ele>11.67</ele><time>2013-06-11T04:04:49Z</time> ...
1 vote
1 answer
129 views

Create virtual/temporary layer from a GeoDataFrame in QGIS

I'm trying to make a plugin that lets me combine the Tracks from multiple GPX files into one virtual/temporary layer in QGIS. Currently I have code that saves them as a GeoJSON layer but with a large ...
1 vote
1 answer
136 views

GPX file not opening in QGIS

QGIS used to allow me to load a GPX file into Qfield through "add vector layer". Now there is an option to add a GPX dataset but my file will not add. Here's what I've tried. First I ...
1 vote
0 answers
39 views

Saving layers with diferent types to a single GPX file

I have the following twos methods to save a vector layer in the project folder The first one is generic and the second calls the first to save specifically a GPX file In order to export one group of ...
0 votes
0 answers
76 views

Exporting a track and waypoints as GPX from QGIS

I have a point layer and a line layer in my QGIS project. How can I export them into a single GPX file with the point layer becoming waypoints (<wpt> elements) and the line becoming the track (&...
0 votes
1 answer
201 views

Create an interactive elevation map starting from GPX files in ArcGIS Online [closed]

I just went on a trip and have GPX files of my hikes. Along with that I have "tracks" (without elevation data) and "track points" located on the same route but with elevation data. ...
15 votes
1 answer
30k views

Exporting point layer from QGIS to CSV file

I have saved waypoints from my Garmin as gpx and have successfully imported them into QGIS. Is there a way to now export the layers into a csv file with coordinates? I've tried the export to csv but ...
4 votes
1 answer
145 views

Creating Linestring from GPX file with M coordinate as time

I have several GPX files that I'm trying to load into a PostGIS table, with the goal of map-matching them (I intend to use pgMapMatch but open to other services I can run on my own machine). ...
0 votes
2 answers
997 views

Fail to upload gpx to Garmin GPS (GPSmap 60CSx) from Linux using gpsbabel CLI

I am trying to upload some gpx data (GPX XML format) to a Garmin GPSmap 60CSx unit using the gpsbabel (v.1.5.4) command line interface for Linux (Ubuntu 18.04). I followed instructions from the ...
1 vote
0 answers
468 views

Edit .GPX file to manually add laps?

Here is my problem: I recently participated in a track race and recorded my activity with my GPS meter without taking the time to mark each lap. I would have liked to mark each lap after the recording ...
0 votes
1 answer
105 views

How reduce file size of GPX files with GDAL OGR2OGR?

I want to reduce the file size of some gpx files with gdal ogr2ogr. When I use simplify like the following command in Mac Terminal the file size does not really shrink: ogr2ogr -simplify 0.00001 ...
0 votes
0 answers
198 views

Export GPX files from QGIS/SAGA that are compatible with Garmin Connect

GPX files exported by QGIS using SAGA do not seem to be accepted by Garmin Connect (web interface). Exporting GPX files via saving a QGIS GPX Layer loses the layers, so I'm using the SAGA export tool. ...
7 votes
4 answers
13k views

How to convert SHP to GPX or to JSON?

I would like to convert the tree inventory shape files of London (Canada) into a GPX file and if possible into a JSON file. You can download the archive from their Open Data website. It contains the ...
4 votes
1 answer
2k views

Elevation graph from GPX file

I've got many GPX files in the following format: <?xml version="1.0" encoding="utf-8"?> <gpx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"...
2 votes
1 answer
975 views

Assigning elevation data to GPX from LIDAR data

I have some GPX files which have elevation data, but I am aiming for greater accuracy. Currently I have used OS benchmarks to correct the barometric elevation data. Online digital elevation models (...
1 vote
1 answer
26 views

I am unable to open a shapefile or .GPX created in ArcMap in maptoaster as I get a "Cannot have a empty Place ID" error. How do I provide this data?

ArcMap 10.5.1. I have generated 320 random points inside a polygon and now want to open my point shapefile in maptoaster (A New Zealand specific mapping suite) as this is how I want to move the points ...
1 vote
1 answer
209 views

Retaining fields when converting .shp to GPX

I am currently planning a marine science expedition and need to convert some points from a .shp to a GPX for display in OpenCPN (chartplotting software) while retaining an extra field or two. I swear ...
1 vote
0 answers
59 views

Displaying derived attributes of gpx track in QGIS

When adding a GPS track, I see the "output" attributes (as in the attached picture). At the same time, I do not see this data in the attribute table. How can I enable visibility of this data ...
35 votes
9 answers
79k views

Adding GPX files into ArcMap?

What is the smoothest route, the easiest user experience, to add gpx files to ArcMap? Ideally, I'd like to interact with .gpx with the same facility as .shp, being able drag'n'drop onto the map ...
36 votes
9 answers
23k views

Is there a good GPS track analysis library?

I keep writing custom code to work with GPS tracks: GPX files and NMEA logs from my phone, dedicated GPS logger, etc. I feel like I'm reinventing the wheel and am wondering if there's some standard ...
0 votes
0 answers
649 views

Uploading GPX file to website and displaying it visually

I'd like to create a file upload button and then print the resulting gpx file on the map, could anyone have a look at this code to see where I'm going wrong? body: <form action="/action_page.php"...
1 vote
1 answer
694 views

Seperate multiple tracks and segments in a single GPX file using leaflet-gpx plugin?

I'm using leaflet-gpx to plot a .gpx file containing multiple tracks but I can't get it to distinguish between each track of the file: This is the basic structure of the file: <gpx> <trk&...
1 vote
1 answer
748 views

Display a track comment when clicking a track in Leaflet multi track layer

See this question Displaying different tracks from one GPX XML file in different colors in Leaflet If I hover a track the hand transforms into an index pointer but if I click nothing happens, see ...
1 vote
0 answers
177 views

QGIS settings to generate a valid GPX file for Strava

I downloaded a GPX file from an activity in strava that had some errant points that caused the distance and elevation to be off that I want to try to correct. I imported the file in to QGIS and saved ...
1 vote
1 answer
601 views

Group and plot values from .gpx files with Python

I'm following this tutorial, and the code is supposed to iterate over multiple .gpx files to plot a chart that shows the distance grouped per month and year. It works, but the function seems to have ...
1 vote
0 answers
297 views

Recorded track capacity of Garmin eTrex n0 devices

I am interested in purchasing a Garmin eTrex 10 or 20 primarily for geotagging the photos I take on holiday, although I suppose the other features might come in handy as well in the future. When using ...
0 votes
0 answers
122 views

Add metadata to .gpx tracks recorded with OsmAnd

Using OsmAnd app to record gps tracks allows to collect the data listed here. Is it possible to add some more data, such as the name of te user or the type of vehicle? If it is not possible to do it ...
11 votes
7 answers
48k views

Seeking tool to manipulate timestamps in GPX file

I have a GPS tracked stored in a GPX file. Now I'm looking for a tool that allows me to set the start time of the track and the duration, and the tool should automatically evenly distribute the ...
0 votes
1 answer
90 views

GPX File - Adding a Global Attribute That Applies to All Track Points

I am running a process where I am creating a GPX file from a GPS enabled video. What I want to do is embed the video file name into a GPX file attribute so that when I “click on” a GPX point, I get ...
0 votes
0 answers
185 views

Cannot add child features: parent primary keys are not available

I've been having a lot of trouble with this error, in multiple versions of QGIS/QField (3.22 LTR, 3.24.2, 3.26.2) and have checked out useful answers about getting the uuid of the parent and the ...
6 votes
3 answers
4k views

How to determine the most accurate elevation algorithm

I use an Android GPS cycling app to track my bike rides and I would like to get a reasonably accurate estimate of the total ascent I did on a ride. I understand that GPS is very inaccurate at ...
1 vote
0 answers
206 views

Cutting lines in shapefile following GPX-source [closed]

I have a OSM-Shapefile containing all roads of a given area. I need an overlay cut out of this source-Shapefile that contains only some routes that I want to highlight on my map. I have some GPX-...
4 votes
1 answer
978 views

Subsampling a GPX file to compress it into a target file size

I have a GPX file, which I'd like to import in Google Maps. Google Maps can only import GPX files up to 5 MB. How can I subsample my GPX file to compress it into a target file size (in this case, 5MB ...
0 votes
1 answer
2k views

Splitting large GPX file into smaller GPX files of 4.99MB each

I have a large GPX file (> 5MB), which I'd like to import in Google Maps. Google Maps can only import GPX files up to 5 MB. How can I split my large GPX file into smaller GPX files of 4.99MB each?
0 votes
0 answers
39 views

One large GPX covering British isles, need to figure out how to display connections between the points which is currently proving tricky

I have a large gpx, it covers most major roads and some secondary roads of the British isles, I intend to use the coordinates to display a rudimentary road map on a device with low memory, I currently ...

1
2 3 4 5
7