Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPX plugin always saves absolute path #19460

Closed
qgib opened this issue Sep 3, 2014 · 3 comments
Closed

GPX plugin always saves absolute path #19460

qgib opened this issue Sep 3, 2014 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Plugins

Comments

@qgib
Copy link
Contributor

qgib commented Sep 3, 2014

Author Name: ramon . (ramon .)
Original Redmine Issue: 11131
Affected QGIS version: master
Redmine category:c++_plugins/gps_plugin


A project with a GPX file that I opened with the GPS plugin will save that layer with an absolute path, even if the project setting is set to relative.

Tested 2.4 on ubuntugis, mac and win7-standalone and master on OSGeo4W.

This is a regression on 2.2, and because opening the GPX file with a core plugin over-rides the project settings it also causes QGIS not to work in an expected manner - which is why I'm setting as a blocker.

The attached zip file has:

  1. a sample shp file, which is always saved with a relative path.
  2. an identical gpx file that is saved with a relative path in QGIS 2.0 and 2.2, but is saved with an absolute path in QGIS 2.4 and master.
  3. Project files made with QGIS 2.0, 2.2, 2,4 and master.

@qgib
Copy link
Contributor Author

qgib commented Oct 3, 2014

Author Name: Giovanni Manghi (@gioman)


Confirmed on the latest master, anyway this is one of the cases I have doubts tagging the issue as blocker (even if it is a regression). In this case because there is no need (not anymore) to use the GPS plugin to load gpx files, just add then using the normal "add vector layer" dialog or by drag and drop.


  • os_version was changed from 2.4, master to
  • operating_system was changed from all to
  • priority_id was changed from Severe/Regression to High

@qgib
Copy link
Contributor Author

qgib commented Oct 26, 2014

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "e1ff0edfba67fea37fb9eebdf11062ddcefc3035".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Dec 6, 2014

Author Name: ramon . (ramon .)


Jürgen, thanks for fixing this.

Giovanni, one of the main reasons that I don't use the "normal" dialoge is that the plugin adds the layers with a much more useful name. Once you've got a project with a few gpx bits in, either you

  1. loose track of which of the identically namef layer is part of which gpx file (annoying), or
  2. you need to rename them all (painful and time consuming), or
  3. use the plugin (which solves the last two problems).

Another reason is that the plugin allows editing of the gpx file, while often using the ogr approach doesn't.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Plugins labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Plugins
Projects
None yet
Development

No branches or pull requests

1 participant