-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
QGIS not saving relative path correctly #17331
Comments
Author Name: Giovanni Manghi (@gioman) I cannot confirm, tested on both Linux and Windows with qgis master.
|
Author Name: Richard Duivenvoorde (@rduivenvoorde) I do confirm. I do have a fresh build release_2_0 here, and I'm not able to save relative paths. BUT: neither with my fresh build 1.8 version??? You should see relative paths in the .qgs file isn't it? I see this in the qgs file: /home/richard/geodata/world/world.shp |
Author Name: Giovanni Manghi (@gioman) fresh .qgis2 folder too? Richard Duivenvoorde wrote:
|
Author Name: Richard Duivenvoorde (@rduivenvoorde) yes, I removed .qgis2 dir AND .config/QGIS in properties I set 'relative paths'. In debug I see this:
but in .qgs file I see:
.qgis file attached
|
Author Name: Richard Duivenvoorde (@rduivenvoorde) did some further testing, removed also .qgis and .config/QuantumGis dirs But still absolute paths, if I just open a shp in my home dir, and then save the qgs file in /tmp BUT if I then copy some data files in /tmp dir, and load those files, THOSE paths are relative in the project file?? Is it possible that QGIS just is not able to 'traverse' all to the right directory or so? I opened qgis from /home/richard Then the .qgs file had /home/richard/geodan/nl/data.shp in its xml. I wonder if the original issuer can tell us what exact his setup is: Operating System, QGIS version, way of starting and places of data and project saving.
|
Author Name: Matthias Kuhn (@m-kuhn) If there in no common ancestor as in your setup (i.e. the only common part of the path is root '/') then there is no reason for saving a relative path and it will be saved absolute. |
Author Name: Matthias Kuhn (@m-kuhn) Closed due to lack of feedback.
|
Author Name: Admire Nyakudya (@NyakudyaA)
Original Redmine Issue: 8589
Affected QGIS version: master
Redmine category:project_loading/saving
Working with the 1.9 version nightly build when on the project properties I have saved paths to be relative but when I save my project and open it in a text editor It saves the path as absolute.
The text was updated successfully, but these errors were encountered: