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.

I would like to add hyperlinks to each point in a points layer in QGIS 1.7.0 running on Mac OS X 10.6.7, but I have several requirements:

(1) Each hyperlink has to be a relative path to the linked file.

(2) The linked files are mainly JPEG images, but may occasionally be HTML files. Either way, I want them to open upon click in the OS's default image/html viewer, regardless of what computer I open it on.

(3) The linked filenames are already specified in a column in the point layer's attribute table. I want to use those filenames in they hyperlinks so I don't have to manually type in a path for each point (there are several hundred points, each pointing to a different file).

How do I do this? Thanks.

share|improve this question

2 Answers 2

up vote 5 down vote accepted

(1) and (2) are possible with eVis plugin (Documentation).

Ad (3): You should be able to use Field Calculator to add the path to the filenames you already in attribute table. Field calculator is described here: http://www.qgis.org/wiki/Calculating_field_values. You can use + operator to concatenate strings.

share|improve this answer
    
That's great. Can you be a little more specific about how I should use the field calculator? Thanks. –  hpy Apr 30 '11 at 17:20

What is the bigger picture problem you are trying to solve?

Maybe you want to have geolocated images as a starting point, and let that be the basis for the spatial catalogue?

see http://www.qgis.org/wiki/Creating_geo-referenced_photos_for_display_in_QGIS

share|improve this answer
    
The info contained in the link is great, but the Geosetter software is Windows only. Is there a way to do this on a Mac and Linux system? Thanks. –  hpy May 5 '11 at 0:49

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.