[Qgis-user] #1211 Relative paths within QGIS project file

Agustin Lobo Agustin.Lobo at ija.csic.es
Wed Mar 4 00:41:09 PST 2009


Magnus,

Maybe there is a simpler, temporary workaround that would make
users lives easier on this regard. When QGIS does not find
a layer as stated in the qgs project, the user could have the
choice of modifying the path that is going to be searched for that
given layer and for the rest of layers. Note that, in 99% of the
cases, the problem arises when the layers are in a portable
disk that has been mounted on a different computer and gets
a different path (i.e., in windows yo would have G:\mylayers
instead of F:\mylayers and on linux you would have
/media/transcend/mylayers instead of /disk/transcend/mylayers).
So just a box to be optionally clicked stating "Upgrade default
path according to browsed layer" (or something like that) in the same 
dialog in which the user is prompted to browse for the layer  would
not be the optimum solution but a very good one.

Thanks

Agus

Magnus Homann wrote:
> Agustin Lobo skrev:
>> Ticket #1211      Relative paths within QGIS project file
>> is set as a 1.0.1 milestone but has nobody
>> as owner, does this imply that nobody is
>> going to take care of it?
> 
> Somebody has top figure out how to distinguish absoulte paths (such as 
> database URL:s)
> from relative paths (such as file located in or below where the project 
> path is).
> 
> Magnus
> 

-- 
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster



More information about the Qgis-user mailing list