Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Objective: I have point layers with attributes contain paths to external files (visio, autocad dwg...). I want to put them all in one folder together with the project file, compress the folder into a zip file and send it to my colleagues for reviews. When my colleague de-compress the zip file, they would be able to open those files with simple actions like the posts linked below.

My observation: what I want to accomplish is very similar to those discussed in this post and this post with one difference: when the zip file is de-compressed, absolute path to referenced files will be different. But I think that RELATIVE PATHS to the project file will be the same, so why not use this? The problem is: I can not find a way to open external files with relative paths inside QGIS.

Any idea how to solve this problem?

Thanks a lot!

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

You could try the eVis plugin for QGIS

http://biodiversityinformatics.amnh.org/open_source/evis/documentation.php#d0e390

share|improve this answer
add comment

Thanks to Rayner's answer, I can do what I want now - with some things to remember:

  1. The relative path stored as attribute in data table should use forward slash (/), like: '/subfolder/file.ext' (without apostrophes) because my Linux Mint system won't work with back slash (\) while Windows XP can work with both styles.
  2. The base path specified in eVis' Options tab should use your operating system's convention, that is: 'C:\path\to\project\folder\' (without apostrophes) on Windows and '/home/user/path/' (without apostrophes) on Linux.

Otherwise I will receive an alert that the file could not be found.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.