I tried to export a track as GPX for my Garmin using QGIS. Here you can see the result: enter image description here

The original Track is saved as PostGIS multiline. I exported the track by "Save As" -> GPX, WGS84 (default options).

Whats the reason for that and whats the right way to export a multiline as GPX?

  • Have you stopped recording the track at some locations and continued later? – user30184 Apr 18 '17 at 11:38
  • No, it' s not a GPS-written GPX track. It's exported from a PostGIS Multiline (created with QGIS). – MAP Apr 18 '17 at 11:39
  • 2
    Thus your multiline has several parts? Multiline does not specify any order for the parts and A-B-C is as valid as A-C-B. I would have a try with merging the multilinestring into one linestring before export. But that succeeds only if the endpoints and startpoints of the parts match. – user30184 Apr 18 '17 at 11:44
  • You'll likely need to split the track into the three (or however many) pieces, as @user30184 commented, a multipart only works successfully if the end points match. – MaryBeth Apr 18 '17 at 12:35
  • Yes, the multi line consists of several merged parts with different directions. That is the reason for that 'zig-zag'. I have a lot GPX to export - so how could I correct them without spending too much time? – MAP Apr 18 '17 at 13:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.