[QGIS-trac] Re: [Quantum GIS] #1905: Relative/Absolute paths are not recalculated on project save

Quantum GIS qgis at qgis.org
Mon Aug 31 18:28:51 EDT 2009


#1905: Relative/Absolute paths are not recalculated on project save
-----------------------------------------------------+----------------------
        Reporter:  gislab                            |         Owner:  nobody       
            Type:  bug                               |        Status:  new          
        Priority:  major: does not work as expected  |     Milestone:  Version 1.3.0
       Component:  Project Loading / Saving          |       Version:  HEAD         
      Resolution:                                    |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Comment (by lutra):

 I tested the behaviour also under windows (qgis-dev from osgeo4w) and the
 result seems the same to me. When I save a project (after clearing the
 checkbox to save relative paths) the path to a layer in the .qgs file is
 relative if the project file resides in a folder that stays at the same
 level or above the one of the layer. If the project file resides in a
 folder below the one of the layer, then the path is absolute.

 So, if you have layers coming from different folders, and depending where
 you save the project, you may have correct relative paths, incorrect
 absolute ones and even a project file with a mix of relative and absolute
 paths.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1905#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list