[QGIS-trac] Re: [Quantum GIS] #1211: Relative paths within QGIS project file

Quantum GIS qgis at qgis.org
Wed May 27 13:28:12 EDT 2009


#1211: Relative paths within QGIS project file
----------------------------------------------------+-----------------------
        Reporter:  springmeyer                      |         Owner:  nobody       
            Type:  enhancement                      |        Status:  closed       
        Priority:  minor: annoyance or enhancement  |     Milestone:  Version 1.0.3
       Component:  Project Loading / Saving         |       Version:  HEAD         
      Resolution:  fixed                            |      Keywords:  relative path
Platform_version:                                   |      Platform:  Debian       
        Must_fix:  No                               |   Status_info:  0            
----------------------------------------------------+-----------------------
Changes (by jef):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Should be fixed in r10854 for single layer file data datasources

 QGIS now tries to interpret the data source name of each maplayer as
 filename and if that doesn't exists tries to prepend the project files
 path, if that succeeds, that filename is taken, otherwise the data source
 uri is left untouched.

 Obviously that'll only work if the uri actually just contains the
 filename.  This is true for instance for single layer OGR data sources
 like shapefiles.

 SVG symbol are now also looked up in the project path if everything else
 fails.

 Feel free to reopen, if you think this isn't sufficient or inadvisable.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1211#comment:4>
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