[Qgis-developer] Relative and absolute paths in projects

Paolo Cavallini cavallini at faunalia.it
Mon Feb 27 09:17:12 PST 2017


Il 27/02/2017 18:02, Giovanni Manghi ha scritto:
>> Hi all,
>> in QGIS 2.18 apparently the full path of the layer is saved in the
>> project, regardless whether Relative or Absolute is chosen from Project
>> Properties. I checked in the .qgs (ame path) and by manually moving the
>> projects to another dir (the original layer is found without asking,
>> which was not expected for relative).
>> Is this a bug, or ma I missing something?
> 
> 
> cannot confirm on 2.18.4

Interesting, thaks for checking.
What I did:

* Project properties > Relative
  * save project
* change properties to Absolute
  * save with a different name

Result:
* content of project: full path in both cases
* moving both projects in a different folder and reopening them > layer
correctly displayed (e.g. confirmed Absolute behaviour).

All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the Qgis-developer mailing list