<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1431968989689_2174115">Cheers Bernhard,</div><div id="yui_3_16_0_1_1431968989689_2172263"><br></div><div dir="ltr" id="yui_3_16_0_1_1431968989689_2172264">Yes, I can do that, but creating the action for each layer is the repetitive task I want to simplify. Instead of typing the the command line for the action, I could just select & apply. This is less of an issue for me as for the users less familiar with QGIS that I'm working with.  <br></div><div id="yui_3_16_0_1_1431968989689_2174116" dir="ltr"><br></div><div id="yui_3_16_0_1_1431968989689_2174117" dir="ltr">Like I can create a symbology once, then save it & apply it to new layers, I'd prefer not to have to create the action for every layer - instead I could create it once then save & reuse as appropriate. <br></div><div id="yui_3_16_0_1_1431968989689_2172255"><span></span></div><div id="yui_3_16_0_1_1431968989689_2174118">As an institutional resource, I can create a set of QGIS styles (symbologies) that users can copy & apply to layers, without having t go through the complex operation of creating it themselves. It would be great to be able to do the same thing with actions - create a library of actions for institutional WFS services that users can re-use - which is where your suggestion of Python is a good one - being platform independent.<br></div><div id="yui_3_16_0_1_1431968989689_2174223"><br></div><div>Thanks,</div><div id="yui_3_16_0_1_1431968989689_2174350"><br></div><div id="yui_3_16_0_1_1431968989689_2174351">  Brent<br></div><div><br>  </div><div id="yui_3_16_0_1_1431968989689_2174354" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1431968989689_2174353" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1431968989689_2174352" dir="ltr"> <hr size="1">  <font id="yui_3_16_0_1_1431968989689_2174355" face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Bernhard Ströbl <bernhard.stroebl@jena.de><br> <b><span style="font-weight: bold;">To:</span></b> qgis-user@lists.osgeo.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, June 2, 2015 5:36 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Qgis-user] Help reusing QGIS action<br> </font> </div> <div id="yui_3_16_0_1_1431968989689_2174356" class="y_msg_container"><br>Hi Brent,<br clear="none"><br clear="none">I hope I got the intention of what you want to achieve....<br clear="none">Talking about layer actions you could define the same action for each of <br clear="none">your layers calling the batch script and passing the point's id. Or you <br clear="none">could create a Python action (functionality provided by a plugin) that <br clear="none">lists all species for each point. This would be platform independent, too.<br clear="none"><br clear="none">Bernhard<br clear="none"><br clear="none">Am 02.06.2015 um 01:06 schrieb Brent Wood:<br clear="none">> Hi,<br clear="none">> I can create an action on a biodatabase: the site data is shown on the map, and an action created that will retrieve and dispaly a sorted list of the species identified at that site. This works well, as a bash script for Linux or a batch file for Windows.<br clear="none">> What I'd like to be able to do is save an action, much like a style, to be applied to multiple layers.<br clear="none">> The use case is: open a layer filtered to show species a, then other layers for species b & c. I then want to see the full list of species caught from individual stations, by clicking on the map. Currently I need to create the action separately for each species - when I have hundreds of species, this gets very cumbersome - so storing & re-using the action would be useful, just as I can reuse a style for each species layer with catch size based symbology.<br clear="none">> Is there a way to do this now that I don't know? Do I need to file a ticket for this?<br clear="none">> Any suggestions appreciated!<br clear="none">> Thanks<br clear="none">> Brent Wood<br clear="none">><br clear="none">><br clear="none">><br clear="none">> __________ Information from ESET Mail Security, version of virus signature database 11719 (20150601) __________<br clear="none">><br clear="none">> The message was checked by ESET Mail Security.<br clear="none">> <a shape="rect" href="http://www.eset.com/" target="_blank">http://www.eset.com</a><br clear="none">><br clear="none">><br clear="none">><br clear="none">> Hi,<br clear="none">><br clear="none">> I can create an action on a biodatabase: the site data is shown on the<br clear="none">> map, and an action created that will retrieve and dispaly a sorted list<br clear="none">> of the species identified at that site. This works well, as a bash<br clear="none">> script for Linux or a batch file for Windows.<br clear="none">><br clear="none">> What I'd like to be able to do is save an action, much like a style, to<br clear="none">> be applied to multiple layers.<br clear="none">><br clear="none">> The use case is: open a layer filtered to show species a, then other<br clear="none">> layers for species b & c. I then want to see the full list of species<br clear="none">> caught from individual stations, by clicking on the map. Currently I<br clear="none">> need to create the action separately for each species - when I have<br clear="none">> hundreds of species, this gets very cumbersome - so storing & re-using<br clear="none">> the action would be useful, just as I can reuse a style for each species<br clear="none">> layer with catch size based symbology.<br clear="none">><br clear="none">> Is there a way to do this now that I don't know? Do I need to file a<br clear="none">> ticket for this?<br clear="none">><br clear="none">> Any suggestions appreciated!<br clear="none">><br clear="none">> Thanks<br clear="none">><br clear="none">> Brent Wood<br clear="none">><br clear="none">><br clear="none">> __________ Information from ESET Mail Security, version of virus<br clear="none">> signature database 11719 (20150601) __________<br clear="none">><br clear="none">> The message was checked by ESET Mail Security.<br clear="none">> <a shape="rect" href="http://www.eset.com/" target="_blank">http://www.eset.com</a><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> Qgis-user mailing list<br clear="none">> <a shape="rect" ymailto="mailto:Qgis-user@lists.osgeo.org" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br clear="none">> <a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br clear="none">><br clear="none">><br clear="none">> __________ Information from ESET Mail Security, version of virus signature database 11719 (20150601) __________<br clear="none">><br clear="none">> The message was checked by ESET Mail Security.<br clear="none">> <a shape="rect" href="http://www.eset.com/" target="_blank">http://www.eset.com</a><br clear="none">><br clear="none"><br clear="none"><br clear="none"><br clear="none">__________ Information from ESET Mail Security, version of virus signature database 11720 (20150602) __________<br clear="none"><br clear="none">The message was checked by ESET Mail Security.<br clear="none"><a shape="rect" href="http://www.eset.com/" target="_blank">http://www.eset.com</a><div class="qtdSeparateBR"><br><br></div><div class="yqt3741916482" id="yqtfd56899"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">Qgis-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Qgis-user@lists.osgeo.org" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br clear="none"><a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br clear="none"></div><br><br></div> </div> </div>  </div></body></html>