[QGIS-trac] Re: [Quantum GIS] #2433: Fix relative paths from absolute-with-symlinks

Quantum GIS qgis at qgis.org
Fri Feb 12 07:44:33 EST 2010


#2433: Fix relative paths from absolute-with-symlinks
---------------------------------------------+------------------------------
        Reporter:  strk                      |         Owner:  nobody       
            Type:  patch                     |        Status:  new          
        Priority:  minor: annoyance          |     Milestone:  Version 1.5.0
       Component:  Project Loading / Saving  |       Version:  HEAD         
      Resolution:                            |      Keywords:               
Platform_version:                            |      Platform:  Debian       
        Must_fix:  No                        |   Status_info:  1            
---------------------------------------------+------------------------------
Comment (by jef):

 Replying to [comment:2 strk]:
 > Replying to [comment:1 jef]:
 > > What's the point in using two different paths to the same directory in
 one project?

 > No point. It was qgis doing that, I just used the "browse" dialog to
 select
 > the files, and maybe I started it from my home directory so had to go
 find
 > the files somewhere.

 I don't understand.  Didn't you use two different paths to the same
 directory and QGIS merily didn't notice or care, that there was a symlink
 involved?

 > I'm trying hard but I can't figure a reason why a user would ever want
 to get that
 > behaviour. I would really expect it to "just work".

 I does just work, doesn't it?  It's just that the paths in the project
 file aren't the one you expected.

 > I would rather get a warning popup if a filename in the project file
 can't be found.
 > After all you can't guarantee you'll produce a project file that will
 work if you
 > can't find the files.

 I was not implying that anything can't be found.  For GRASS rasters the
 "filename" isn't actually a path to a file.  The referred information is
 in multiple files in the directories within the GRASS mapset.  The path to
 the mapset is still valid, existing and can be expresses relatively to the
 project file.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2433#comment:3>
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