<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Tudor,</p>
<p>I guess you will have good chances that you can write a server
plugin and register your custom expressions in the class factory.<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/server.html">https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/server.html</a></p>
<p>For reference how to register expressions have a look at the
expressionplus plugin.<br>
</p>
<p>Mayer there's an easier way too which I don't know<br>
</p>
<p>Matthias<br>
</p>
<br>
<div class="moz-cite-prefix">On 04/28/2018 10:00 AM, Tudor Barascu
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:857103900.1794149.1524902448279@mail.yahoo.com">
<div style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:13px;">
<div>Hi all,</div>
<div><br>
</div>
<div>Was playing around with the custom python expressions which
are super cool and I noticed they don't propagate in QGIS
Server and maybe I'm doing something wrong (I only tried
copying the .py files to the equivalent directory). Anyone has
a clue if this should work and if it's not implemented
already, how big the effort would be?</div>
<div>Should I open a feature request ticket?</div>
<div><br>
</div>
<div>Thank you,</div>
<div><br>
</div>
<div>Tudor</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div class="moz-signature">
<title></title>
<div class="moz-signature"> <span style="text-align: left;
color: #000000; font-family: 'Verdana', sans-serif;
font-size: 10pt">Matthias Kuhn</span><br>
<a href="mailto:matthias@opengis.ch" target="_blank"> <span
style="text-align: left; color: #000000; font-family:
'Verdana', sans-serif; font-size: 8pt">matthias@opengis.ch</span>
</a><br>
<span style="text-align: left; color: #000000; font-family:
'Verdana', sans-serif; font-size: 8pt"><a
href="tel:+41764356763">+41 (0)76 435 67 63</a></span><br>
<div> <a href="http://www.opengis.ch"> <img
moz-do-not-send="false"
src="cid:part3.B938BC9D.0BC43E3C@opengis.ch"
alt="OPENGIS.ch Logo" height="80" width="200"></a> </div>
</div>
</div>
</div>
</body>
</html>