Skip to main content

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
27 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, ...
JRI's user avatar
  • 121
1 vote
1 answer
87 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 ...
swiss_knight's user avatar
  • 10.4k
0 votes
0 answers
87 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. //...
Vincent Dc's user avatar
1 vote
1 answer
162 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 ...
Lost Mapper's user avatar
  • 1,961
1 vote
0 answers
45 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 ...
Marcelo Franco Patané Júnior's user avatar
0 votes
0 answers
117 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 (&...
bugmenot123's user avatar
  • 10.9k
1 vote
1 answer
204 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 ...
Anomalous Exploration's user avatar
0 votes
1 answer
222 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. ...
Jane's user avatar
  • 1
4 votes
1 answer
183 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). ...
Butts Carlton's user avatar
1 vote
0 answers
574 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 ...
Goat Yeah's user avatar
0 votes
1 answer
119 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 ...
aronsommer's user avatar
0 votes
0 answers
232 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. ...
Jona's user avatar
  • 41
1 vote
1 answer
27 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 ...
James's user avatar
  • 11
1 vote
1 answer
252 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 ...
Szechwan's user avatar
1 vote
0 answers
60 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 ...
Александр Б.'s user avatar
1 vote
1 answer
769 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&...
XaC's user avatar
  • 407
1 vote
0 answers
181 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 ...
Steve's user avatar
  • 1,331
0 votes
1 answer
299 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 ...
Davy WDN's user avatar
1 vote
1 answer
665 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 ...
HyPhens's user avatar
  • 520
0 votes
0 answers
133 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 ...
HyPhens's user avatar
  • 520
1 vote
1 answer
448 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) ...
rkjnsn's user avatar
  • 119
0 votes
1 answer
103 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 ...
Jay B's user avatar
  • 1
2 votes
1 answer
808 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 ...
Zoltán Süle's user avatar
0 votes
0 answers
208 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 ...
Avery Andrews's user avatar
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?
Franck Dernoncourt's user avatar
4 votes
1 answer
1k 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 ...
Franck Dernoncourt's user avatar
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 ...
IceBear123's user avatar
1 vote
2 answers
480 views

Snapping gpx to Lines

I have made a map based on OSM vector data. I'd like to implement a lot of gpx files there, but the tracks of those do not really fit on the streets/paths of the osm data. is there a clever way to ...
MrSalamikuchen's user avatar
2 votes
1 answer
112 views

Merge a .gpx with a DEM

I have two files, a DEM and a .GPX. How can I mix the two files so that the .gpx is part of the DEM (in black and white), but rendering the color at an elevation 10m higher than the DEM? The color of ...
Kaixo's user avatar
  • 97
-1 votes
1 answer
196 views

Software used to plot GPS data on a map to be saved as an image

I have GPS data from some bike rides which I'd like to use to create a video overlay showing my position on a map at a given point in time. The plan is to find some library for Python or JavaScript ...
mowwwalker's user avatar
1 vote
0 answers
744 views

Proper way to convert GeoJSON to GPX [closed]

I tried many ways to convert GIS file into GPX format but not getting proper file. I tried gpx-converter, gdal.vectorTranslate etc. Is there any other way to convert file into gpx?
JAYKUMAR GUPTA's user avatar
0 votes
0 answers
195 views

gpx data shows additional lines in QGIS (using GPS Tools)

I created several shapefiles two years ago (lines, MultiLineString, CRS 25833) in QGIS 3.4. standalone. Operating System: Windows 10. Now, I converted the shapefiles into gpx files (merged the data ...
Iram's user avatar
  • 11
1 vote
1 answer
392 views

Display a Leaflet Heatmap with a gpx file and Omnivore

I first displayed a Leaflet Heatmap with the plugin : "leaflet-heat.js" and a geojson file with this code found on Gis.Stackexchange var geoJsonUrl = "link to the geojson file" ...
Manard82's user avatar
  • 197
1 vote
0 answers
279 views

Batch Import gpx tracks in QGIS

I am trying to import multiple gpx tracks into QGIS using the plugin "Batch GPS Importer". This has worked in the past but now gives me the error Sorry, no valid GPX features found in the ...
Albert's user avatar
  • 431
0 votes
1 answer
594 views

Exporting GeoJSON data to gpx with togpx library in Leaflet?

While doing research to assemble, cut tracks (polylines), I found a development called Leaflet.draw.plus: alas, abandoned : https://github.com/Dominique92/Leaflet.draw.plus . I tried this leaflet.draw....
Manard82's user avatar
  • 197
3 votes
1 answer
565 views

Calculated distance field along GPX track

I have dropped a GPS breadcrumb track (.gpx format) onto my project. If I generate a a virtual field in this layer to calculate the distance between successive crumbs using the expression: distance(($...
Albert's user avatar
  • 431
0 votes
1 answer
2k views

How to upload .gpx.xml files into QGIS?

I have a file with the following extension .gpx.xml taken from the following website: walking However, I don't know how to import the file when it's both in .xml format and .gpx format. What methods ...
joe_bill.dollar's user avatar
2 votes
1 answer
122 views

Is it possible convert 3 shapefiles to 1 GPX file?

I ran into problem converting shapefiles to a GPX file. I used below code using ogr2ogr. ogr2ogr -f gpx i.gpx i.shp it works well, but I'd like to convert three shapefiles to one GPX file like this: ...
최동철's user avatar
0 votes
0 answers
35 views

GPX track appears scaled down and in center of world using standalone PyQGIS

I'm trying to load a GPX-track as a layer in PyQGIS (standalone) but the track appears entirely on the wrong scale and position (scaled down in the middle of the equator). When I load the file ...
Dorus's user avatar
  • 1
3 votes
2 answers
2k views

Seeking Web/Mac application for editing and display of gpx files

Recently I made month-long cycling trip through Europe. I have some gpx files of existing routes (like Eurovelo) which I used for planning. I also have ~30 gpx files of daily recordings of my route ...
Michal's user avatar
  • 169
1 vote
1 answer
171 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 ...
hsuya01's user avatar
  • 11
0 votes
1 answer
188 views

Problems with gpx in Qgis after GPSmap64s update

After an update of a Garmin GPSmap64s via Garminexpress the daily gpx tracks (e.b. 2021-11-08) are not displayed in Qgis 3.20, but only when I zoom in (between 1:10000 and 1:25000, >1:25000 works ...
user16032's user avatar
  • 931
1 vote
1 answer
674 views

Extract coordinates from .gpx file with OpenLayers (or any other JS library)?

I have a simple drag and drop event assigned to my OpenLayers map. This allows me to take a .gpx file, drag & drop it on top of my map which results in the route being visualized on the map. The ...
BaldWin03's user avatar
-1 votes
1 answer
1k views

Conversion of GeoJSON to GPX? [closed]

How do you convert a GeoJSON file to GPX?
Damiaan van Harteveld's user avatar
0 votes
0 answers
244 views

GDAL Convert to GPX, force format

In QGIS 3.16.9, I'm trying to do a simple processing modeler that would repair and convert polygons into simple lines then into GPX files. First steps are done until I try to save the lines output as ...
Mr_Yum's user avatar
  • 1,094
2 votes
1 answer
153 views

ParseError in Script for GPX to Features in ArcMap

I am trying to run the "GPX to Features" tool in ArcMap 10.8 to convert tracks from a handheld Garmin device. Here is how I ran the tool: inGPX = "C:/Users/Admin/Desktop/EMR/...
Emily R.'s user avatar
  • 101
0 votes
1 answer
231 views

Edit buttons greyed out in QGIS

I have imported GPX files from a Garmin 62s into QGIS, but the edit buttons remain greyed out despite reviewing folder permissions.
Owen's user avatar
  • 1
0 votes
1 answer
384 views

Error when exporting a line-string vector layer to GPX - the exported GPX contains no coordinates

I've read these answers, but I seem to be having a more basic problem. When I open the exported GPX in notepad, there are no coordinates at all. Screengrab of my project. The linestring I want to ...
John Newman's user avatar
-2 votes
1 answer
28 views

deLorme inReach says fix=none through entire track

While crossing the Atlantic, from time to time, I recorded a trkseg with a deLorme inReach, the pre-2015 version. Every trkpt has <fix>none</fix> yet the coordinates look good: an almost ...
WGroleau's user avatar
  • 127
0 votes
0 answers
77 views

QGIS Strange behaviour when saving gpx file to shapefile

Have recently been forced to change from using DNRGPS to download (mostly) waypoint data from Garmin eTrex GPS (for some reason corporate IT withdrew making DNRGPS available for download - no idea why ...
OzMark's user avatar
  • 61

1
2 3 4 5
7