Good solution. One thing I noticed though is that the action isn't immediately 
visible in the identify window. This may have to do with the tree mode. Any way 
to configure so that actions are always on a zero node of the tree?
Best regards,
João Carneiro
--
Enviado pelo aplicativo myMail para Android
terça-feira, 20 outubro 2015, 11:03AM -02:00 de Richard McDonnell 
<[email protected]>:
This is possible if you use  Actions in the Styling
Here is an example of one I prepared to open DXF's from within QGIS
    (see image below)
[% "LOCATION" %]/[% "FORMAT" %]/[% "SCALE" %]/full/[% "MAP_NUMBER"
    %].[% "FORMAT" %]
The Data is a Vector Tile Index for OSi DXF maps for the entire
    country (Ireland), I use multiple fields to create the file
    extension, as  it easily allows me to edit the "LOCATION" Field, to
    change drive locations for other departments. The values in the ""
    are the Column Headers, so I have:
*  "LOCATION" Root Folder Location (Eg...C:/Osi_Maps)
*  "FORMAT" Data supplied in DXF and NTF (eg....DXF)
*  "SCALE" 1:1000, 2500 & 5000 (eg.....1000)
*  "MAP_NUMBER" OSi Index Number
*  "FORMAT" again
The above string then constructs the Path to the Vector resulting
      in for example
C:/Osi_Maps/DXF/1000/full/1000_a.dxf
Clear as Mud eh!!!
Regards,
Richard McDonnell
On 20/10/2015 12:42, João Carneiro
      wrote:
>Hello all,
>Taking advantage of this topic to request
            something that would really help me out in my projects, and
            probably others as well. Would it be possible to text fields
            automatically if they are valid paths to files when
            identifying? If so, make it a link that opens the default
            program that can handle that file?
>
>Best regards,
>João Carneiro
>
>De: Qgis-user [ mailto:[email protected] ]  Em
                  nome de  Richard McDonnell
>Enviada em: terça-feira, 20 de outubro de 2015
                09:33
>Para: [email protected]
>Assunto: Re: [Qgis-user] Set default view for
                Identify window?
>
>I do like the
          pop up window, but the problem with is that it disappears to
          the back, when you go to pan or zoom out, the option to have
          it auto close would be nice, also to have them stay on top
          until you close them or pan/zoom, this could allow you to
          select one or two entity's for comparison or editing for
          example. Upon panning or zooming they both close...does that
          make sense?
>Actually I am thinking along the lines of something like the
          Attribute table, but where you filter by selection!
>
>Regards,
>
>Richard McDonnell
>
>On 20/10/2015 12:14, Nathan Woodrow
            wrote:
>>I'm keen to kill that dock and replace
              it with something better in the next version or version
              after.  Open to ideas on that.
>>
>>Regards,
>>Nathan
>>
>>On Tue, Oct 20, 2015 at 9:05 PM,
                Richard Duivenvoorde < [email protected] >
                wrote:
>>On 20-10-15 12:46, DelazJ wrote:
>>> Confirmed while testing on a raster: the three view
                options remain
>>> available.
>>> Maybe time has come to see how they can be improved
                and set availbale
>>> for vector layers :)
>>
>>Ah, now I understand. So they should NOT be usable with
                vector layers,
>>but only when you have rasters??
>>
>>Because sometimes they are enabled with me, when I had a
                vector layer
>>loaded...
>>Little messy ui behaviour :-(
>>
>>Regards,
>>
>>Richard
>>
>>_______________________________________________
>>Qgis-user mailing list
>>[email protected]
>>http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>>
>>
>>_______________________________________________
>>Qgis-user mailing list
>>[email protected]
>>http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>OPW
              - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá
              thart
>OPW - Looking to the future - Caring for the past
>
>Email Disclaimer:  http://www.opw.ie/en/disclaimer/
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to