[Qgis-user] Set relative path [QGIS 1.8.0 on Win XP]
Raffaella Sanna
raffaellasanna at yahoo.it
Fri Nov 16 05:49:06 PST 2012
Thank you all, I solved my problem.
I didn't know it was possible to open .qgs file in a text editor, great idea!
So I opened it, I change all datasources to C:, and I found that the path was set as absolute, despite I set "relative" path from project properties.
Bye,
Raffaella
________________________________
Da: Jonathan Moules <jonathanmoules at warwickshire.gov.uk>
A: Raffaella Sanna <raffaellasanna at yahoo.it>
Cc: "qgis-user at lists.osgeo.org" <qgis-user at lists.osgeo.org>
Inviato: Giovedì 15 Novembre 2012 16:57
Oggetto: Re: [Qgis-user] Set relative path [QGIS 1.8.0 on Win XP]
Hi Raffaella,
I leave others to deal with absolute versus relative paths, however you
can open the .qgis file itself in notepad and use search and replace to
replace the paths that way. So search for E:\gis_folder\ and replace
with "C:\newfolder\" for instance.Jonathan
________________________________
Da: Andre Joost <andre+joost at nurfuerspam.de>
A: qgis-user at lists.osgeo.org
Inviato: Giovedì 15 Novembre 2012 16:53
Oggetto: Re: [Qgis-user] Set relative path [QGIS 1.8.0 on Win XP]
Am 15.11.2012 16:27, schrieb Raffaella Sanna:
> Hi! I have some problem working with relative path.
>
> My QGIS project is stored with a path like this:
> E:/GIS_folder/Qgis.qgs, and all GIS data are in
> E:/GIS_folder/DATA_folder, so project and data are stored in the same
> folder. I saved this project with relative path, from 'project
> properties' -> 'save relative path', but when I copy all the folder
> "GIS_folder" on another pc (on C: disk) and I open the project, all
> shapefiles are still linked to my pc (E:, not C:).
Rather strange. It should be exactly opposite. Are these projects created with an older Qgis version? If I remember correctly, absolute paths were default until Qgis 1.7.3.
What happens if you change the properties entry to "absolute"?
You can look into the project file with a text editor and look for <datasource> tags.
greetings,
André Joost
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121116/4ee8dd3e/attachment.html>
More information about the Qgis-user
mailing list