#1864 closed bug (fixed)
Saving projects with relative paths
Reported by: | gislab | Owned by: | jef |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.4.0 |
Component: | Project Loading / Saving | Version: | Trunk |
Keywords: | relative paths | Cc: | pcav |
Must Fix for Release: | No | Platform: | Unix |
Platform Version: | Awaiting user input: | no |
Description
qgis works great on opening projects with relative paths to datasources, thanks to https://trac.osgeo.org/qgis/ticket/1211 but then saving the project it converts links back to absolute, even the checkbox "save absolute paths" is turned off. Data (shapefiles) and project are in the same folder. Folder name contains spaces and Cyrillic characters.
Change History (5)
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
follow-up: 4 comment:2 by , 15 years ago
Cc: | added |
---|---|
Milestone: | Version 1.2.0 → Version 1.4.0 |
Platform: | Windows → Unix |
Platform Version: | trunk |
Resolution: | fixed |
Status: | closed → reopened |
Sorry to have to reopen this ticket, but saving with relative paths seems not work any more, at least under Linux (testing under Ubuntu 9.04) with both qgis 1.3 from repos and 1.4 trunk compiled.
Made simple tests with shapefiles and when the "save absolute paths" is not checked the resulting project file has the paths in the form
./path/to/shape.shp
instead of
path/to/shape.shp
so when you try to open the project it misses to find the layers and ask you for the new layer location.
comment:3 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to lutra:
Sorry to have to reopen this ticket, but saving with relative paths seems not work any more, at least under Linux (testing under Ubuntu 9.04) with both qgis 1.3 from repos and 1.4 trunk compiled.
I wonder when this happend. Apparently that never worked on Linux.
Made simple tests with shapefiles and when the "save absolute paths" is not checked
if you can check "save absolute paths" you are using something < r11729. Which should have fixed this issue. Feel free to reopen, if it didn't.
./path/to/shape.shp instead of path/to/shape.shp
the ./
is perfectly fine. .
is the current directory.
comment:5 by , 15 years ago
right, I didn't compiled in the last days and I tought it was already solved. Thanks.
Fixed in r11360.