[QGIS-trac] [Quantum GIS] #2138: Attribute Actions Problem
Quantum GIS
qgis at qgis.org
Sun Nov 22 16:36:28 EST 2009
#2138: Attribute Actions Problem
------------------------------------------------+---------------------------
Reporter: johnnyC | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.4.0
Component: Build/Install | Version: 1.3.0
Keywords: actions attribute | Platform_version: XP sp2
Platform: Windows | Must_fix: Yes
Status_info: 0 |
------------------------------------------------+---------------------------
I am using Mimas 1.3.0 (do not have the build version handy) on windows
installed using the stand alone installer, installed on laptop with
Windows XP pro operating system. I don't know how to assign this issue to
a component - I don't know which component the actions feature is
associated with. I also don't understand the difference between the
milestone and the version in the ticket submission panel so i hope this
ticket will make sense.
I am having a strange problem with the attribute action feature. I want
to be able to play videos or view pictures associated with various points
in my layer. I have input the path to vlc on my machine (in quotes) and
then the path to the file (in quotes) using the %% argument to get the
value in the attribute: "C:\program files\videolan\vlc\vlc.exe"
"c:\pics_n_vids\%%" is the action.
In my specific situation, I have 3 video attributes and 3 picture
attributes (the value of each being the name of a video or picture file).
So, I should be able to simply right click on one of those values from the
Identify Results window and choose the action that I have called View.
This worked perfectly fine in 1.0.1 KORE(or was it 1.0.2??? - it is
already replace so i cannot check but either way, it was working fine).
But in 1.3.0 Mimas, something strange happens. The value that is sent to
the VLC video player is not necessarily the value that I selected from the
Identify Results window. The attribute values are correctly associated
with the attribute name in the Identify Results window (i.e. video1 is
shown to contain the correct filename as I included when I created the
layer, etc.) but the value that gets sent to the player can be the value
from any of the other attributes listed in the Identify Results window.
Now if I select the video1 attribute value to be played, QGIS can send the
attribute value (ie the filename) associated with any of the other
attributes. So I might have to select the value associated with video1
attribute so as to view the picture file associated with picture2
attribute, for example, or select the value displayed for picture3 so as
to be able to play video1. I am working from layers stored in PostGIS.
I have tried to find any related issue on the forums but have not seen
this situation discussed so I am submitting this as a ticket.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2138>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list