[Qgis-user] including images in (database) attributes

Brent Wood pcreso at pcreso.com
Mon Nov 25 12:38:25 PST 2013


Not quite sure how this fits your needs, but the QGIS "actions" facility was implemented originally to do just this on the desktop - and it works well.

If you have a set of images, each of which has a location, and you create a QGIS layer which includes the path to the image file & the point to represent it on a map, you can plot the points, & create an action to view the image it represents. Then select the action tool, click on the point on the map, see the image.


Also, we did not use QGIS for this, but built an (Open Source) web facility to do this, with a set of images at each location: 

http://www.os2020.org.nz/project-map/
Click a green triangle (DTIS location) to drill down to the images at each site...


May give you some ideas if nothing else....


Cheers


  Brent Wood


________________________________
 From: Niklaas Baudet von Gersdorff <niklaas at kulturflatrate.net>
To: qgis-user at lists.osgeo.org 
Sent: Tuesday, November 26, 2013 9:16 AM
Subject: [Qgis-user] including images in (database) attributes
 

Hi,

is there a way to include images (png, jpeg, ...) into a QGIS project 
file and link to an entity? I'd need this feature to link builing 
surveys to buildings. In the next step, they should also be visible via 
qgis-web-client*.

    * I hope, this is the right mailinglist for questions about the web 
    client. I'd guess it's an official project by QGIS?!

If there's no possibility to do that, I'd maybe try to implement it 
myself. I don't know whether it's possible for me to do this in QGIS 
core but I guess I could work it out to put a link into a field called 
e.g. "img" and let the web client not only show the link but the actual 
image.

Are there any hints about the first part of my question? Maybe also 
about the second one? If this feature is not implemented yet, any hints 
according to where to start coding are very appreciated. :)

Cheers,

Niklaas

P.S.: Because I'm working for a research project 
(http://assip.project.tuwien.ac.at) I get some money for maybe coding 
this feature. ;-) So, the existing initiative from my side is quite 
serious. :-)

-- 
Niklaas Baudet von Gersdorff
niklaas at kulturflatrate.net

http://www.kulturflatrate.net/niklaas
_______________________________________________
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/20131125/79cced22/attachment.html>


More information about the Qgis-user mailing list