[Qgis-user] File -> Project Properties... -> General -> Save absolute paths=No

Greg Coats gregcoats at mac.com
Tue Jan 5 10:20:51 PST 2010


Micha,
Thank you very much.
I was puzzled because on 4 Sep 2009 Jurgen Fischer, and on 6 Sep 2009 Giovanni Manghi, both reliable sources, reported that support for relative paths was working in Qgis 1.3.0. But then I found a follow up email on 11 Sep 2009 from Manghi saying support for relative paths is NOT working in Qgis 1.3.0, and an "emergency" release of Qgis would be issued in a couple of days, but, to my knowledge, that "emergency" release did not happen.
That would explain why, in Qgis version 1.3.0 Mimas, for Mac OS X 10.6, downloaded from http://www.kyngchaos.com/ support for relative paths does not work for me.
I look forward to using Qgis with support for relative paths.
Greg

On Jan 5, 2010, at 1:04 PM, Micha Silver wrote:

> Hi Greg:
> I just did a test saving a project with relative paths in 1.4 (on Ubuntu), then I opened it on 1.3 (Windows) and it worked fine. All layers were below the project file in the directory structure.
> Then I added another layer from elsewhere on the disk - *not* below the project - and went back to QGIS 1.4 and it also opened fine.
> Looks to me like the bug has been fixed in 1.4.
> --
> Micha
> Greg Coats wrote:
>> This is very confusing. The link you provided says: "resolution deleted".
>> Does that mean Qgis version 1.3.0 does not support relative paths, and version 1.4.0 will not support relative paths?
>> A 4 Sep 2009 email to Qgis-user from Jurgen Fischer says he fixed the relative path bug in Qgis.
>> A 6 Sep 2009 email to Qgis-user from Giovanni Manghi says "I just tested the latest source code available and relative paths now works fine, without any bugs."
>> 
>> The need for Qgis to support relative paths was identified in
>> http://trac.osgeo.org/qgis/ticket/1211
>> filed a year ago, with "resolution set to fixed" for Qgis version 1.0.3, and yet it does not work in Qgis 1.3.0.
>> 
>> After saving a Qgis 1.3.0 project with relative paths, then when Qgis starts up the next time it reports to me that it can find any of the layers. What I do not understand is that this issue has been reported as fixed, and working several times, but it does not yet work. Has anyone tested relative paths in Qgis 1.4.0? Is a final fix guaranteed to be included Qgis version 1.4.0?
>> Greg
>> 
>> On Jan 5, 2010, at 12:20 PM, Micha Silver wrote:
>> 
>>> Greg Coats wrote:
>>>> Qgis version 1.3.0 Mimas, for Mac OS X 10.6, downloaded from http://www.kyngchaos.com/
>>>> 
>>>> I have done Save Project As... with Save absolute paths=No, meaning Save relative paths=Yes, several dozen times, but EVERY time when Qgis restarts with these relative paths in the project file, then it is unable to find ANY of the layers.
>>>> 
>>>> When I set Qgis -> File -> Project Properties... -> General -> Save absolute paths=Yes, Save Project As..., quit Qgis, and then restart Qgis with the project file that has absolute paths, then all layers start up fine, all of the time.
>>>> 
>>>> The paths are saved relative to what directory?
>>> If I understand correctly, the paths are from the directory where the qps is saved, but *only below* that directory. So for this to work, you have to have all your data layers *beneath* the directory where the project file is saved.
>>> Here's the bug ticket on that issue:
>>> http://trac.osgeo.org/qgis/ticket/1864
>>>> Is failure to start up from a project file that has relative paths a known issue with Qgis 1.3.0?
>>>> If yes, does Qgis 1.4.0 eliminate this failure to start up from a project saved with relative paths?
>>>> Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20100105/2bcae4df/attachment.html>


More information about the Qgis-user mailing list